Skip to content
Permalink
Browse files
- Fix GetTableName that returned wrong value under Windows
  modified:   storage/connect/ha_connect.cc
  • Loading branch information
Buggynours committed Feb 9, 2019
1 parent 65f22b8 commit 58dfdfc
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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

0 comments on commit 58dfdfc

Please sign in to comment.