Commit fe83d978 authored by marko@hundin.mysql.fi's avatar marko@hundin.mysql.fi

ha_innodb.cc:

  Replace a tolower() loop with innobase_casedn_str()
parent 57f1f4ea
...@@ -1562,14 +1562,7 @@ normalize_table_name( ...@@ -1562,14 +1562,7 @@ normalize_table_name(
norm_name[name_ptr - db_ptr - 1] = '/'; norm_name[name_ptr - db_ptr - 1] = '/';
#ifdef __WIN__ #ifdef __WIN__
/* Put to lower case */ innobase_casedn_str(norm_name);
ptr = norm_name;
while (*ptr != '\0') {
*ptr = tolower(*ptr);
ptr++;
}
#endif #endif
} }
......
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