aboutsummaryrefslogtreecommitdiff
path: root/odb/mysql/connection.hxx
AgeCommit message (Collapse)AuthorFilesLines
2011-08-30Add comment with some explanationsBoris Kolpackov1-0/+4
2011-08-30Implement uniform handle management across all databasesBoris Kolpackov1-2/+10
Also use the auto_handle template instead of the raw handle in connection, statement, and result classes. This removes a lot of brittle "exception safety guarantee" code that we had in those classes.
2011-08-28Add support for creating connection from existing handleBoris Kolpackov1-0/+1
This will allow for custom connection establishment and configuration.
2011-08-22Remove stray function declarationsBoris Kolpackov1-6/+0
2011-08-21Add odb::connection classBoris Kolpackov1-1/+22
This abstract class represents a connection to the database. One can use it to start a transaction or to execute a native statement out of a transaction. Before we had concrete connection classes in the database runtime libraries (e.g., odb::mysql::connection). Now these classes derive from odb::connection.
2011-02-21Factor out active statement cancelling into separate functionBoris Kolpackov1-0/+12
2011-02-21Validate connection in MySQL pool factoryBoris Kolpackov1-0/+7
This will help deal with the MySQL server closing connections after a certain period of inactivity.
2011-02-21Don't reuse failed connectionsBoris Kolpackov1-0/+14
If MySQL API returns an error indicating the connection is no longer usable, mark it as failed. In connection_pool_factory free failed connections instead of returning them to the pool.
2011-01-04Copyright updateBoris Kolpackov1-1/+1
2010-11-17Add support for unidirectional object relationshipsBoris Kolpackov1-2/+13
New test: common/relationship.
2010-11-06Add support for container persistenceBoris Kolpackov1-3/+6
Generalize statements that were used for persisting objects to work for both objects and containers. Implement a cache for container statements.
2010-09-09Rework MySQL header inclusionBoris Kolpackov1-12/+1
2010-09-03Add support for MinGW buildBoris Kolpackov1-3/+4
2010-08-30Support for automake and VC++ buildsBoris Kolpackov1-2/+17
2010-08-18Move shared_ptr to the details namespaceBoris Kolpackov1-2/+3
2010-08-10Delay closing statement until there are no active statementsBoris Kolpackov1-0/+19
2010-08-10Add query supportBoris Kolpackov1-0/+14
2010-08-03Add version inclusion, other cosmetic changesBoris Kolpackov1-0/+1
2010-07-26Add base support for statements, insert_statement and cacheBoris Kolpackov1-0/+11
2010-06-04Initial implementationBoris Kolpackov1-0/+44