Commit 58dfdfc0 authored by Olivier Bertrand's avatar Olivier Bertrand

- Fix GetTableName that returned wrong value under Windows

  modified:   storage/connect/ha_connect.cc
parent 65f22b8f
......@@ -1816,7 +1816,7 @@ PCSZ ha_connect::GetDBName(PCSZ name)
const char *ha_connect::GetTableName(void)
{
const char *path= tshp ? tshp->path.str : table_share->path.str;
const char *name= strrchr(path, '/');
const char *name= strrchr(path, slash);
return name ? name+1 : path;
} // end of GetTableName
......
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