Commit 894f44b6 authored by Sergei Golubchik's avatar Sergei Golubchik

CONNECT: Windows paths

Followup for db8f0dae
parent e5a5ae45
...@@ -1816,7 +1816,7 @@ PCSZ ha_connect::GetDBName(PCSZ name) ...@@ -1816,7 +1816,7 @@ PCSZ ha_connect::GetDBName(PCSZ name)
const char *ha_connect::GetTableName(void) const char *ha_connect::GetTableName(void)
{ {
const char *path= tshp ? tshp->path.str : table_share->path.str; 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; return name ? name+1 : path;
} // end of GetTableName } // 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