X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcokebank_sqlite%2Fmain.c;h=23776b305f2e089793af21ce14cb7eadf984ea60;hb=91d11fd7f9bf911c6abc59a18e17ec5890cee148;hp=e53910502fc7c2b78b1368a56977955c66ac2e98;hpb=10fc79a2f4f72165cb1ce1ba78c84faa8d56f5db;p=tpg%2Fopendispense2.git diff --git a/src/cokebank_sqlite/main.c b/src/cokebank_sqlite/main.c index e539105..23776b3 100644 --- a/src/cokebank_sqlite/main.c +++ b/src/cokebank_sqlite/main.c @@ -220,6 +220,10 @@ int Bank_SetFlags(int UserID, int Mask, int Value) ); #undef MAP_FLAG + #if DEBUG + printf("Bank_SetFlags: query=\"%s\"\n", query); + #endif + // Execute Query rv = sqlite3_exec(gBank_Database, query, NULL, NULL, &errmsg); if( rv != SQLITE_OK )