ldb: Always log when the database pack format changes
commita2b0fc7c00360f37ed6819f21380294b70d4a195
authorTim Beale <timbeale@catalyst.net.nz>
Tue, 30 Jul 2019 04:40:55 +0000 (30 16:40 +1200)
committerGarming Sam <garming@samba.org>
Tue, 20 Aug 2019 03:40:28 +0000 (20 03:40 +0000)
treeee3bf8fea460ddbfb9a7f901e5fe5196f32fa808
parent6dcf00ba0a470ba25aabae06b409ec95404c246f
ldb: Always log when the database pack format changes

LDB_DEBUG_WARNING gets logged by Samba as level 2, whereas the default
log level for Samba is 0. It's not really fair to the user to change the
format of their database on disk and potentially not tell them.

This patch adds a log with level zero (using a alias define, as this
technically isn't a fatal problem).

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14059

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
lib/ldb/include/ldb.h
lib/ldb/ldb_key_value/ldb_kv_index.c