Minor comment tweaks

This commit is contained in:
Kayne Ruse
2015-03-06 00:13:12 +11:00
parent 41d6314beb
commit a8c309ec9d
3 changed files with 5 additions and 7 deletions
+1
View File
@@ -27,6 +27,7 @@
//Define the queries
//-------------------------
//TODO: (1) ensure this is independant of column order
static const char* CREATE_USER_ACCOUNT = "INSERT INTO Accounts (username) VALUES (?);";
static const char* LOAD_USER_ACCOUNT = "SELECT * FROM Accounts WHERE username = ?;";
static const char* SAVE_USER_ACCOUNT = "UPDATE OR FAIL Accounts SET blacklisted = ?2, whitelisted = ?3, mod = ?4, admin = ?5 WHERE uid = ?1;";