Skip to content
Browse files

[*] fixed unit_test - specifying encoding when creating table

  • Loading branch information...
1 parent c086b4d commit 515efde172d34e289cc84c728ded00536709a6c1 @vozbu committed Jan 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/unit_test.cpp
View
2 test/unit_test.cpp
@@ -357,7 +357,7 @@ namespace
BOOST_FAIL("Malformed string '" << line << "' in the file '" << sDataFilename << "'");
const std::string sDropTableQuery = "DROP TABLE IF EXISTS test";
conn->query(sDropTableQuery);
- const std::string sCreateTableQuery = "CREATE TABLE test (value " + tokens[1] + ")";
+ const std::string sCreateTableQuery = "CREATE TABLE test (value " + tokens[1] + ") DEFAULT CHARSET=utf8";
conn->query(sCreateTableQuery);
}
else if (tokens.front() == "data")

0 comments on commit 515efde

Please sign in to comment.
Something went wrong with that request. Please try again.