aboutsummaryrefslogtreecommitdiff
path: root/src/database_sqlite.cc
diff options
context:
space:
mode:
authorfusion32 <marcopuzziello@gmail.com>2025-10-18 03:40:40 -0300
committerfusion32 <marcopuzziello@gmail.com>2025-10-18 03:40:40 -0300
commitebf536a7910f6e8d5bff569d2d717287ad3ba716 (patch)
tree3033c280b90ddcd1ebe067d840cce94eb8c3566a /src/database_sqlite.cc
parent601ce32ee8d0cee32b66c87b0bfefa7424a5b8c8 (diff)
downloadquerymanager-ebf536a7910f6e8d5bff569d2d717287ad3ba716.tar.gz
querymanager-ebf536a7910f6e8d5bff569d2d717287ad3ba716.zip
properly handle NULL values with postgres result helpers
Diffstat (limited to 'src/database_sqlite.cc')
-rw-r--r--src/database_sqlite.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/database_sqlite.cc b/src/database_sqlite.cc
index a2c4e4e..243011c 100644
--- a/src/database_sqlite.cc
+++ b/src/database_sqlite.cc
@@ -412,9 +412,8 @@ static bool CheckDatabaseSchema(TDatabase *Database){
return false;
}
- // IMPORTANT(fusion): After checking the application id, we want to apply
- // patches before checking user version, just in case some migration needs
- // to take place.
+ // IMPORTANT(fusion): We want to apply patches before checking user version,
+ // just in case some migration needs to take place.
if(!ApplyDatabasePatches(Database, "sqlite/patches")){
LOG_ERR("Failed to apply database patches");
return false;