Commit 3c94200d authored by unknown's avatar unknown

A fix: 'information_schema' test with ps-protocol option fails

table_list->schema_table_name may be 0 in this case and 'strcasecmp' is 
not necessary in this case.

parent 9aad0ae3
......@@ -3191,6 +3191,7 @@ int mysql_schema_table(THD *thd, LEX *lex, TABLE_LIST *table_list)
views
working correctly
*/
if (table_list->schema_table_name)
table->alias_name_used= my_strcasecmp(table_alias_charset,
table_list->schema_table_name,
table_list->alias);
......
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