summaryrefslogtreecommitdiff
path: root/odb/mysql/database.cxx
AgeCommit message (Collapse)AuthorFilesLines
2024-01-25Turn libodb-mysql repository into package for muti-package repositorylibodb-mysqlKaren Arutyunov1-357/+0
2021-04-30Add transaction::connection(database&) overloadBoris Kolpackov1-1/+3
2020-02-13Drop copyright notice from source codeKaren Arutyunov1-1/+0
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-02-06Update copyrightBoris Kolpackov1-1/+1
2013-09-10Schema versioning supportBoris Kolpackov1-1/+7
2013-04-25Add support for schema version tableBoris Kolpackov1-0/+107
2013-02-09Update copyright yearBoris Kolpackov1-1/+1
2012-10-08Ground work for multi-database supportBoris Kolpackov1-6/+12
All generated code now includes database id. The database-specific database class interface has been updated to include all the database operations. The database-specific tests now use this interface.
2012-03-02Reimplement C++11 support to be header-onlyBoris Kolpackov1-6/+6
This way, the same build of the runtime libraries can be used in both C++98 and C++11 modes. This is important for when runtimes are installed or packaged.
2012-03-01Add support for using C++11 std::unique_ptr to pass connection factoryBoris Kolpackov1-12/+14
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-26Add support for specifying client character set for MySQL databaseBoris Kolpackov1-2/+14
2011-08-24Add support for transaction multiplexingBoris Kolpackov1-0/+6
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-44/+4
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/+2
2011-02-18Factor out MySQL error to exception translation into separate functionBoris Kolpackov1-9/+3
2011-01-18Add support for native SQL statement executionBoris Kolpackov1-3/+44
New test: mysql/native. New manual section: 3.9, "Executing Native SQL Statements".
2011-01-04Copyright updateBoris Kolpackov1-1/+1
2010-09-28Rename begin_transaction() to begin()Boris Kolpackov1-1/+1
2010-09-21Ignore unknown command line options and argumentsBoris Kolpackov1-1/+1
2010-09-14Add argc/argv database ctorBoris Kolpackov1-0/+60
2010-08-18Add connection_pool_factory, use it as the defaultBoris Kolpackov1-5/+5
2010-07-20Get rid of the session mechanism for nowBoris Kolpackov1-14/+1
Add low-level API instead.
2010-06-04Initial implementationBoris Kolpackov1-0/+174