1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-12-13 23:02:14 +03:00

MCOL-830 Allow cross engine to work with UTF8

UTF8 characters just showed as question marks. This patch makes them
retrieve correctly.
This commit is contained in:
Andrew Hutchings
2017-07-27 14:59:10 +01:00
parent c8df939e17
commit 2aacb56bc6

View File

@@ -103,7 +103,13 @@ int DrizzleMySQL::init(const char* h, unsigned int p, const char* u, const char*
{
ret = drizzle_con_connect(fDrzcp);
if (ret != 0)
{
fErrStr = "fatal error in drizzle_con_connect()";
}
else
{
drizzle_query_str(fDrzcp, NULL, "SET NAMES UTF8;", NULL);
}
}
else
{