aboutsummaryrefslogtreecommitdiff
path: root/odb/mysql/connection.hxx
AgeCommit message (Collapse)AuthorFilesLines
2019-01-16Update copyright yearKaren Arutyunov1-1/+1
2018-05-24Update copyright yearKaren Arutyunov1-1/+1
2017-01-03Update copyright yearBoris Kolpackov1-1/+1
2015-11-09Make database class move-constructibleBoris Kolpackov1-11/+31
This means it can be returned by value from a function in C++11.
2015-02-06Update copyrightBoris Kolpackov1-1/+1
2013-02-09Update copyright yearBoris Kolpackov1-1/+1
2012-12-03Add support for executing common query using static interfaceBoris Kolpackov1-1/+5
2012-11-29Namespace management for static multi-database supportBoris Kolpackov1-1/+0
Now in libodb the odb::core namespace is split into odb::common (database- independent stuff) and odb::core proper, which imports odb::common. Each database runtime now defines odb::<db>::core namespace which also imports odb::common and adds the database-specific bits. The overall idea is that one can do using namespace odb::<db>::core just like for odb::core.
2012-10-15Implement early connection releaseBoris Kolpackov1-0/+3
2012-10-12Completion of prepared query supportBoris Kolpackov1-0/+18
2012-04-26Replace remaining std::auto_ptr uses with odb::details::unique_ptrBoris Kolpackov1-2/+2
GCC in C++11 mode issues a deprecation warning for std::auto_ptr.
2012-01-29Update copyright yearBoris Kolpackov1-1/+1
2012-01-29Remove author field from file headerBoris Kolpackov1-1/+0
Too much effort to maintain.
2011-11-17Remove unnecessary forward declarationBoris Kolpackov1-1/+0
2011-11-07Add support for SQL statement tracingBoris Kolpackov1-0/+20
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