diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-08-28 16:07:38 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-08-28 16:07:38 +0200 |
commit | 1c2289c99f86a9f8cccfa87aef981e7c39dd4e9e (patch) | |
tree | a8fd33cfacfd85faee29d4dce4c9cfb3e2b2f475 /odb/mysql/connection.hxx | |
parent | 4ea19dd03241a940a4194ac3bdea89bf7cca8f42 (diff) |
Add support for creating connection from existing handle
This will allow for custom connection establishment and configuration.
Diffstat (limited to 'odb/mysql/connection.hxx')
-rw-r--r-- | odb/mysql/connection.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/odb/mysql/connection.hxx b/odb/mysql/connection.hxx index ab0692d..f4462ed 100644 --- a/odb/mysql/connection.hxx +++ b/odb/mysql/connection.hxx @@ -43,6 +43,7 @@ namespace odb ~connection (); connection (database_type&); + connection (database_type&, MYSQL* handle); database_type& database () |