diff options
author | Andreas Habel <mail@exceptionfault.de> | 2008-11-05 13:40:13 +0000 |
---|---|---|
committer | Andreas Habel <mail@exceptionfault.de> | 2008-11-05 13:40:13 +0000 |
commit | 1af60893e6737942c2079c794d53a4e21cf87c58 (patch) | |
tree | 53bf04c21499adc8c2f23d40351d0525753c648a /src/account-server/dalstoragesql.hpp | |
parent | 94bf187c196769b87fbbfa9a9c083f94def82ccf (diff) | |
download | manaserv-1af60893e6737942c2079c794d53a4e21cf87c58.tar.gz manaserv-1af60893e6737942c2079c794d53a4e21cf87c58.tar.bz2 manaserv-1af60893e6737942c2079c794d53a4e21cf87c58.tar.xz manaserv-1af60893e6737942c2079c794d53a4e21cf87c58.zip |
* Account server now loads item database on startup and synchronizes tmw_items table in the database.
* Added method to DataProvider to escape quotes in strings so that they can be used in SQL statements.
Diffstat (limited to 'src/account-server/dalstoragesql.hpp')
-rw-r--r-- | src/account-server/dalstoragesql.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/account-server/dalstoragesql.hpp b/src/account-server/dalstoragesql.hpp index 7c4f6df5..278ecfa2 100644 --- a/src/account-server/dalstoragesql.hpp +++ b/src/account-server/dalstoragesql.hpp @@ -84,6 +84,11 @@ static char const *CHAR_SKILLS_TBL_NAME = "tmw_char_skills"; static char const *INVENTORIES_TBL_NAME("tmw_inventories"); /** + * TABLE: tmw_items. + */ +static char const *ITEMS_TBL_NAME("tmw_items"); + +/** * TABLE: tmw_guilds. * Store player guilds */ |