summaryrefslogtreecommitdiff
path: root/src/dal/sqlitedataprovider.h
AgeCommit message (Collapse)AuthorFilesLines
2012-03-26Some general cleanups and merged Being::perform() into update()Thorbjørn Lindeijer1-12/+2
The main change here is to remove the separate calling of 'perform' on all beings, and rather rely on the beings to do whatever they were doing in that function when the virtual 'update' function is called. Reviewed-by: Yohann Ferreira
2011-03-12Removed a bunch of silly documentationThorbjørn Lindeijer1-10/+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-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-8/+8
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
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-23/+12
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-07-10Changed BindInteger and BindString to BindValueDavid Athay1-11/+4
2009-07-10Changed database to using prepared statements, to stop SQL injection attacksDavid Athay1-1/+35
2008-11-16Got rid of CVS/Subversion $Id$ markersBjørn Lindeijer1-2/+0
2008-10-21Add limits.h where needed.Dennis Friis1-0/+1
2008-09-17* Added installation scripts to set up database schemas for mysql, sqlite ↵Andreas Habel1-9/+69
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-4/+1
2005-06-16Simplified APIs, change namespace from tmw to tmwserv, implemented MySQL ↵Huynh Tran1-60/+13
data provider, added unit tests (require CPPUnit) and bug fixes.
2005-06-14Reworked RecordSet and implemented the SQLite Data ProviderHuynh Tran1-1/+32
2005-06-13Initial release of the Database Abstraction LayerHuynh Tran1-0/+136