diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-08-26 13:40:20 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-08-26 13:40:20 +0200 |
commit | 70ed1235b68bf7a36cfefabf0aa078608c83dfd1 (patch) | |
tree | 82057718c571d20b80492ac9da2b31319a744b91 /libcommon/common/common.cxx | |
parent | 18dc4c5a4cb46f01ebdd49fbb6baa3c48d8f3b3d (diff) |
Add support for specifying client character set for MySQL database
Diffstat (limited to 'libcommon/common/common.cxx')
-rw-r--r-- | libcommon/common/common.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcommon/common/common.cxx b/libcommon/common/common.cxx index 47dee81..384d945 100644 --- a/libcommon/common/common.cxx +++ b/libcommon/common/common.cxx @@ -73,7 +73,7 @@ create_database (int& argc, if (max_connections != 0) f.reset (new mysql::connection_pool_factory (max_connections)); - db.reset (new mysql::database (argc, argv, false, 0, f)); + db.reset (new mysql::database (argc, argv, false, "", 0, f)); #elif defined(DATABASE_SQLITE) auto_ptr<sqlite::connection_factory> f; |