From 70ed1235b68bf7a36cfefabf0aa078608c83dfd1 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 26 Aug 2011 13:40:20 +0200 Subject: Add support for specifying client character set for MySQL database --- libcommon/common/common.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcommon') 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 f; -- cgit v1.1