Enabled and fixed compiler warnings. (#92)

This commit is contained in:
Ravin Perera
2022-01-28 16:03:46 +05:30
committed by GitHub
parent 656fc8b662
commit 1a47e82e13
12 changed files with 53 additions and 35 deletions

View File

@@ -145,7 +145,9 @@ namespace sqlite
const int ret = exec_sql(db, sql);
if (ret == -1)
{
LOG_ERROR << "Error when creating sqlite table " << table_name;
}
return ret;
}
@@ -166,7 +168,9 @@ namespace sqlite
const int ret = exec_sql(db, sql);
if (ret == -1)
{
LOG_ERROR << "Error when creating sqlite index '" << index_name << "' in table " << table_name;
}
return ret;
}