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:
marko 2006-01-27 09:41:19 +00:00
parent bf58448f97
commit a4f11935e1
2 changed files with 3 additions and 2 deletions

View file

@ -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);

View file

@ -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);
}
/*************************************************************************