aboutsummaryrefslogtreecommitdiff
path: root/odb/mysql/connection.cxx
AgeCommit message (Collapse)AuthorFilesLines
2015-02-06Update copyrightBoris Kolpackov1-1/+1
2013-02-09Update copyright yearBoris Kolpackov1-1/+1
2012-10-15Implement early connection releaseBoris Kolpackov1-1/+2
2012-10-12Completion of prepared query supportBoris Kolpackov1-0/+4
2012-03-29Clear active connection in destructorBoris Kolpackov1-0/+2
2012-01-29Update copyright yearBoris Kolpackov1-1/+1
2012-01-29Remove author field from file headerBoris Kolpackov1-1/+0
Too much effort to maintain.
2012-01-13Remove unneeded qualificationBoris Kolpackov1-1/+1
2011-11-07Add support for SQL statement tracingBoris Kolpackov1-0/+11
2011-08-30Implement uniform handle management across all databasesBoris Kolpackov1-17/+15
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-2/+14
This will allow for custom connection establishment and configuration.
2011-08-26Add support for specifying client character set for MySQL databaseBoris Kolpackov1-0/+5
2011-08-24Add support for transaction multiplexingBoris Kolpackov1-3/+0
Also delay getting a connection until after we do all the sanity checks (e.g., that there is no active transaction). Otherwise we are running risk of getting blocked rather than throwing an exception.
2011-08-21Add odb::connection classBoris Kolpackov1-1/+41
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-07-11Free prepared statement cache before closing connectionBoris Kolpackov1-0/+4
2011-02-21Factor out active statement cancelling into separate functionBoris Kolpackov1-0/+7
2011-02-21Validate connection in MySQL pool factoryBoris Kolpackov1-0/+26
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/+1
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-02-18Factor out MySQL error to exception translation into separate functionBoris Kolpackov1-2/+12
2011-01-04Copyright updateBoris Kolpackov1-1/+1
2010-11-17Add support for unidirectional object relationshipsBoris Kolpackov1-2/+3
New test: common/relationship.
2010-11-06Add support for container persistenceBoris Kolpackov1-2/+5
Generalize statements that were used for persisting objects to work for both objects and containers. Implement a cache for container statements.
2010-09-14Add argc/argv database ctorBoris Kolpackov1-1/+1
2010-08-10Delay closing statement until there are no active statementsBoris Kolpackov1-1/+38
2010-08-10Add query supportBoris Kolpackov1-1/+1
2010-07-30Pass CLIENT_FOUND_ROWS to connectBoris Kolpackov1-1/+6
2010-07-26Add base support for statements, insert_statement and cacheBoris Kolpackov1-1/+1
2010-06-04Initial implementationBoris Kolpackov1-0/+44