diff options
Diffstat (limited to 'odb/mysql/connection.cxx')
-rw-r--r-- | odb/mysql/connection.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/odb/mysql/connection.cxx b/odb/mysql/connection.cxx index 0b38d35..d87e578 100644 --- a/odb/mysql/connection.cxx +++ b/odb/mysql/connection.cxx @@ -17,8 +17,9 @@ namespace odb namespace mysql { connection:: - connection (database& db) - : handle_ (&mysql_), + connection (database_type& db) + : db_ (db), + handle_ (&mysql_), active_ (0), statement_cache_ (new statement_cache_type (*this)) { |