diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-08-18 17:56:18 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-08-18 17:56:18 +0200 |
commit | a243907cfe4f39f9b74eea88a41bf535a42158ce (patch) | |
tree | 38ad3c7266908cd05a8152aba2c2cebd13814b93 /odb/mysql/database.cxx | |
parent | 35e514ddf8c5b1ca72ecfa841b05d3f047650132 (diff) |
Add connection_pool_factory, use it as the default
Diffstat (limited to 'odb/mysql/database.cxx')
-rw-r--r-- | odb/mysql/database.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/odb/mysql/database.cxx b/odb/mysql/database.cxx index 8ad4bd3..b73e48f 100644 --- a/odb/mysql/database.cxx +++ b/odb/mysql/database.cxx @@ -40,7 +40,7 @@ namespace odb factory_ (factory) { if (factory_.get () == 0) - factory_.reset (new new_connection_factory ()); + factory_.reset (new connection_pool_factory ()); factory_->database (*this); } @@ -66,7 +66,7 @@ namespace odb factory_ (factory) { if (factory_.get () == 0) - factory_.reset (new new_connection_factory ()); + factory_.reset (new connection_pool_factory ()); factory_->database (*this); } @@ -92,7 +92,7 @@ namespace odb factory_ (factory) { if (factory_.get () == 0) - factory_.reset (new new_connection_factory ()); + factory_.reset (new connection_pool_factory ()); factory_->database (*this); } @@ -118,7 +118,7 @@ namespace odb factory_ (factory) { if (factory_.get () == 0) - factory_.reset (new new_connection_factory ()); + factory_.reset (new connection_pool_factory ()); factory_->database (*this); } @@ -144,7 +144,7 @@ namespace odb factory_ (factory) { if (factory_.get () == 0) - factory_.reset (new new_connection_factory ()); + factory_.reset (new connection_pool_factory ()); factory_->database (*this); } |