summaryrefslogtreecommitdiffstats
path: root/ml
diff options
context:
space:
mode:
authorStelios Fragkakis <52996999+stelfrag@users.noreply.github.com>2024-01-15 22:32:55 +0200
committerGitHub <noreply@github.com>2024-01-15 22:32:55 +0200
commit9396b862ae0732d3b15a1f4981513e39257829f9 (patch)
tree180a4491877ecea60bdc6276ca343d3c7c884fac /ml
parent1973e70b62f75bc11dfdc8cb7c6ca1fd3d3f10fc (diff)
Add additional fail reason and source during database initialization (#16794)
Diffstat (limited to 'ml')
-rw-r--r--ml/ml.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ml/ml.cc b/ml/ml.cc
index c6d077e289..91a40a6b24 100644
--- a/ml/ml.cc
+++ b/ml/ml.cc
@@ -1787,7 +1787,7 @@ void ml_init()
// create table
if (db) {
int target_version = perform_ml_database_migration(db, ML_METADATA_VERSION);
- if (configure_sqlite_database(db, target_version)) {
+ if (configure_sqlite_database(db, target_version, "ml_config")) {
error_report("Failed to setup ML database");
sqlite3_close(db);
db = NULL;