diff options
Diffstat (limited to 'src/database/sqlite/sqlite_functions.c')
-rw-r--r-- | src/database/sqlite/sqlite_functions.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/database/sqlite/sqlite_functions.c b/src/database/sqlite/sqlite_functions.c index fab3847c27..2b01ce79c6 100644 --- a/src/database/sqlite/sqlite_functions.c +++ b/src/database/sqlite/sqlite_functions.c @@ -450,6 +450,7 @@ int sql_init_database(db_check_action_type_t rebuild, int memory) } if (rebuild & DB_CHECK_ANALYZE) { + errno = 0; netdata_log_info("Running ANALYZE on %s", sqlite_database); rc = sqlite3_exec_monitored(db_meta, "ANALYZE", 0, 0, &err_msg); if (rc != SQLITE_OK) { |