summaryrefslogtreecommitdiff
path: root/src/account-server/dalstoragesql.hpp
diff options
context:
space:
mode:
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-08-30 16:20:33 +0000
committerGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-08-30 16:20:33 +0000
commit25914cddf606e683a4226f46b56f800400d633d3 (patch)
tree58a95b50fc59a45459906d109b4768aa4124951d /src/account-server/dalstoragesql.hpp
parent5af1c90d2f86e10de74285d89ee975bd959a6556 (diff)
downloadmanaserv-25914cddf606e683a4226f46b56f800400d633d3.tar.gz
manaserv-25914cddf606e683a4226f46b56f800400d633d3.tar.bz2
manaserv-25914cddf606e683a4226f46b56f800400d633d3.tar.xz
manaserv-25914cddf606e683a4226f46b56f800400d633d3.zip
Got rid of abstract storage and reference-counted pointers. Fixed lifetime of accounts and characters in server memory. Cleaned some code.
Diffstat (limited to 'src/account-server/dalstoragesql.hpp')
-rw-r--r--src/account-server/dalstoragesql.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/account-server/dalstoragesql.hpp b/src/account-server/dalstoragesql.hpp
index c4d8ad7d..93ae7759 100644
--- a/src/account-server/dalstoragesql.hpp
+++ b/src/account-server/dalstoragesql.hpp
@@ -76,6 +76,7 @@ static char const *SQL_ACCOUNTS_TABLE =
"level TINYINT UNSIGNED NOT NULL,"
"banned TINYINT UNSIGNED NOT NULL,"
"INDEX (id)"
+#error "Incorrect definition. Please fix the types."
#elif defined (SQLITE_SUPPORT)
"id INTEGER PRIMARY KEY,"
"username TEXT NOT NULL UNIQUE,"