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
This commit is contained in:
parent
c0463704c2
commit
69684f689c
@ -8943,6 +8943,8 @@ int util_query(MYSQL* org_mysql, const char* query){
|
|||||||
org_mysql->unix_socket);
|
org_mysql->unix_socket);
|
||||||
|
|
||||||
cur_con->util_mysql= mysql;
|
cur_con->util_mysql= mysql;
|
||||||
|
if (mysql->charset != org_mysql->charset)
|
||||||
|
mysql_set_character_set(mysql, org_mysql->charset->csname);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user