aboutsummaryrefslogtreecommitdiffstats
path: root/tests/db/db_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/db/db_test.c')
-rw-r--r--tests/db/db_test.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/db/db_test.c b/tests/db/db_test.c
index 389ed00..23b84cc 100644
--- a/tests/db/db_test.c
+++ b/tests/db/db_test.c
@@ -820,7 +820,9 @@ int main(int argc, char **argv)
/* omit the SQLite version and compilation flags from test output */
log_set_log_level(osmo_stderr_target, LOGL_ERROR);
- dbc = db_open(ctx, "db_test.db");
+ /* Disable SQLite logging so that we're not vulnerable on SQLite error messages changing across
+ * library versions. */
+ dbc = db_open(ctx, "db_test.db", false);
log_set_log_level(osmo_stderr_target, 0);
OSMO_ASSERT(dbc);