summaryrefslogtreecommitdiff
path: root/src/dal/mysqldataprovider.h
AgeCommit message (Collapse)AuthorFilesLines
2011-03-12Removed a bunch of silly documentationThorbjørn Lindeijer1-6/+0
A C++ developer should be able to recognize a constructor and a destructor by just looking at it, so let's stop writing down the obvious. :)
2010-11-14Fix a potential memleak related to binds when disconnecting with MySQL.Yohann Ferreira1-0/+3
Trivial fix.
2010-11-14Simplified the use of binding when using MySQL.Yohann Ferreira1-4/+16
This permits to avoid a memleak with the former vector form and to use the 'place' variable when binding. The badly prepared statements are also a bit better handled now. With this patch, IMHO, the MySQL support is in shape. Reviewed-by: Jaxad0127.
2010-11-14Renamed .hpp files into .h for consistency.Yohann Ferreira1-1/+1
Also added an header to the autoattack.{h,cpp} files. Big but trivial fix.
2010-10-30Have the PerformTransaction class automatically handle nestingThorbjørn Lindeijer1-0/+3
No need to fiddle around with "startTransaction" booleans now that the helper class is a little more intelligent. When the database is already performing a transaction, no new one will be started.
2010-02-07Update Copyright date for Manaserv.Bertram1-1/+1
2010-01-10Fixing the mysql backend and the mysql createTables scriptBlue1-0/+28
Implementing the prepared statements in mysql backend
2009-12-06Fixed name of the project in copyright headersThorbjørn Lindeijer1-13/+13
Also updated the headers to refer to the GPL by URL instead of suggesting to contact the FSF by snail mail, as per the latest GPL usage instructions.
2009-12-06Removed "TMW" and "TMWSERV" from header guardsThorbjørn Lindeijer1-3/+3
2009-12-06A host of code style changesThorbjørn Lindeijer1-22/+10
Removed pointless void in method parameter lists, fixed methods and variables that started with upper case, removed pointless 'const' for stuff passed by value, made some getters const, etc.
2009-04-19Mysql Backend Update mysql database to version 3 Fixed compile error with ↵Blue1121-0/+1
mysql backend
2008-11-16Got rid of CVS/Subversion $Id$ markersBjørn Lindeijer1-3/+0
2008-09-17* Added installation scripts to set up database schemas for mysql, sqlite ↵Andreas Habel1-9/+85
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
2006-07-27First step toward a restructured class hierarchy for world actors: addGuillaume Melquiond1-5/+0
MovingObject and Player classes.
2006-03-06Cleaned up unnecessary header dependencies and fixed some indentations.Björn Steinbrink1-1/+1
2005-06-16Simplified APIs, change namespace from tmw to tmwserv, implemented MySQL ↵Huynh Tran1-55/+17
data provider, added unit tests (require CPPUnit) and bug fixes.
2005-06-14Reworked RecordSet and implemented the SQLite Data ProviderHuynh Tran1-1/+23
2005-06-13Initial release of the Database Abstraction LayerHuynh Tran1-0/+136