aboutsummaryrefslogtreecommitdiff
path: root/odb/mysql/connection-factory.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-0/+3
2012-06-15Add support for building against libmysqlclient that lacks THR_KEY_mysysBoris Kolpackov1-13/+24
In certain distributions (specifically Fedora 15 and later), maintainers limit the number of visible symbols. If THR_KEY_mysys is hidden, then we try to create the TLS keys in such an order that it results in the correct behavior. And then hope for the best.
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-08-28Add create() hook to connection factoriesBoris Kolpackov1-13/+23
This will allow the user to either establish the connection themselves (using the handle c-tor) and/or configure the connection post-creation.
2011-08-21Add odb::connection classBoris Kolpackov1-3/+3
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-03-15Avoid holding connection pool lock while pinging connection1.2.0Boris Kolpackov1-25/+42
2011-03-15Change shared_ptr callback interface to work in mt-environmentBoris Kolpackov1-5/+5
2011-02-21Factor out active statement cancelling into separate functionBoris Kolpackov1-0/+2
2011-02-21Validate connection in MySQL pool factoryBoris Kolpackov1-1/+5
This will help deal with the MySQL server closing connections after a certain period of inactivity.
2011-02-21Don't reuse failed connectionsBoris Kolpackov1-3/+4
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-17Cosmetic changesBoris Kolpackov1-2/+2
2010-09-13Fix MySQL thread termination problemBoris Kolpackov1-1/+38
2010-09-10Initialize and terminate mysql libraryBoris Kolpackov1-11/+49
2010-09-09Rework MySQL header inclusionBoris Kolpackov1-14/+1
2010-09-03Add support for MinGW buildBoris Kolpackov1-5/+6
2010-08-30Support for automake and VC++ buildsBoris Kolpackov1-2/+15
2010-08-18Add connection_pool_factory, use it as the defaultBoris Kolpackov1-0/+156
2010-06-04Initial implementationBoris Kolpackov1-0/+37