mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 11:01:52 +01:00
Import mysql-5.1-new changeset 1.2011.1.1 (Alexander Barkov):
WL#1324 table name to file name encoding ha_innobase::create(): do not remove .frm extension row_is_mysql_tmp_table_name(): replace '#' with '@0023'
This commit is contained in:
parent
bf58448f97
commit
a4f11935e1
2 changed files with 3 additions and 2 deletions
|
@ -4887,7 +4887,7 @@ ha_innobase::create(
|
|||
srv_lower_case_table_names = FALSE;
|
||||
}
|
||||
|
||||
fn_format(name2, name, "", "", 2); // Remove the .frm extension
|
||||
strcpy(name2, name);
|
||||
|
||||
normalize_table_name(norm_name, name2);
|
||||
|
||||
|
|
|
@ -3484,7 +3484,8 @@ row_is_mysql_tmp_table_name(
|
|||
const char* name) /* in: table name in the form
|
||||
'database/tablename' */
|
||||
{
|
||||
return(strstr(name, "/#sql") != NULL);
|
||||
/* return(strstr(name, "/#sql") != NULL); */
|
||||
return(strstr(name, "/@0023sql") != NULL);
|
||||
}
|
||||
|
||||
/*************************************************************************
|
||||
|
|
Loading…
Add table
Reference in a new issue