aboutsummaryrefslogtreecommitdiff
path: root/libcommon
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-08-26 13:40:20 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-08-26 13:40:20 +0200
commit70ed1235b68bf7a36cfefabf0aa078608c83dfd1 (patch)
tree82057718c571d20b80492ac9da2b31319a744b91 /libcommon
parent18dc4c5a4cb46f01ebdd49fbb6baa3c48d8f3b3d (diff)
Add support for specifying client character set for MySQL database
Diffstat (limited to 'libcommon')
-rw-r--r--libcommon/common/common.cxx2
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;