summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorAndreas Habel <mail@exceptionfault.de>2008-09-17 11:32:45 +0000
committerAndreas Habel <mail@exceptionfault.de>2008-09-17 11:32:45 +0000
commita2af298fd993a129b657671a41f20e3975baf0ef (patch)
tree9e99436db881465af9738a6637ece7ef6b05fe5f /ChangeLog
parentfb677eeec95d583b8b1928a907c815c95f8c4594 (diff)
downloadmanaserv-a2af298fd993a129b657671a41f20e3975baf0ef.tar.gz
manaserv-a2af298fd993a129b657671a41f20e3975baf0ef.tar.xz
manaserv-a2af298fd993a129b657671a41f20e3975baf0ef.zip
* Added installation scripts to set up database schemas for mysql, sqlite and postgresql. The create table statements have been completely removed out from the c++ source into separate, provider specific sql files. Accountserver will no longer create a sqlite file if none present.
* Added database specific config parameters to configure each provider independent. * Simplified the connect routine of DALStorage class since every dataprovider is now responsible to retrieve its own parameters. * Extended abstract dataprovider to support transactions, functionally implemented for SQLite and mySQL. * Added methods to retrieve last inserted auto-increment value and the number of modified rows by the last statement. * Rewrite of DALStorage class to be a little more transactional. * Fixed a bug when deleting a character. Old function left data in quests table and guilds table. * Doxygen now also includes non-documented functions and provides a dictionary for all classes
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog30
1 files changed, 25 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 468fbb1..a72b9f9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,24 @@
+2008-09-17 Andreas Habel <mail@exceptionfault.de>
+
+ * src/sql/*, src/account-server/dalstoragesql.hpp: added installation
+ scripts to set up database schemas for mysql, sqlite and postgresql.
+ The create table statements have been completely removed out from the c++
+ source into separate, provider specific sql files.
+ * docs/tmwserv.xml: added database specific parameters to configure
+ each provider, that is used as database backend independent
+ * Doxyfile: doxygen now also includes non-documented functions and provides
+ a dictionary for all classes
+ * dal/dataprovider.h, dal/sqlitedataprovider.h, dal/mysqldataprovider.h,
+ dal/mysqldataprovider.cpp, dal/sqlitedataprovider.cpp:
+ Extended abstract dataprovider to support transactions, implemented for
+ SQLite and mySQL. Added methods to retrieve last inserted
+ auto-increment value and the number of modified rows in the last statement.
+ * account-server/dalstorage.cpp: Tiny rewrite to be a little more
+ transactional and use advanced database functionality. Fixed a bug when
+ deleting a character that left data in quests table and guilds table.
+ Simplified the connect routine of DALStorage class since every dataprovider
+ is now responsible to retrieve its parameters for itself.
+
2008-09-15 Andreas Habel <mail@exceptionfault.de>
* Doxyfile: added doxygen file, docu will be generated under docs/api/html
@@ -11,11 +32,10 @@
* src/account-server/dalstorage.cpp, src/account-server/account.cpp,
src/account-server/account.hpp, src/account-server/accounthandler.cpp,
- src/account-server/dalstorage.hpp,
- src/account-server/dalstoragesql.hpp: Extended tmw_accounts table with
- columns for lastlogin and registration date. Modified account-server
- to fill the new columns on registration and login. Recreation of
- database needed!
+ src/account-server/dalstorage.hpp, src/account-server/dalstoragesql.hpp:
+ Extended tmw_accounts table with columns for lastlogin and registration
+ date. Modified account-server to fill the new columns on registration and
+ login. Recreation of database needed!
* src/account-server/dalstorage.cpp,
src/account-server/dalstoragesql.hpp: Added createIndex function to
create indexes on tables.