Commit 69684f68 authored by Sergei Golubchik's avatar Sergei Golubchik

use correct collation_connection in --view

mysqltest should use the same collation_connection in the service
connection (that creates views) as in the main connection

this makes weight_string("aaa") to return the expected value in --view
and fixes main.func_str failure in --view
parent c0463704
......@@ -8943,6 +8943,8 @@ int util_query(MYSQL* org_mysql, const char* query){
org_mysql->unix_socket);
cur_con->util_mysql= mysql;
if (mysql->charset != org_mysql->charset)
mysql_set_character_set(mysql, org_mysql->charset->csname);
}
}
else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment