Commit 9127fb60 authored by unknown's avatar unknown

removing back tick support from the server in change_db()

parent ae89db49
......@@ -351,13 +351,6 @@ bool mysql_change_db(THD *thd,const char *name)
x_free(dbname);
DBUG_RETURN(1);
}
if (dbname[0] == '`' && dbname[db_length-1] == '`')
{
int counter=1;
for (; counter < db_length - 1; counter++)
dbname[counter-1]=dbname[counter];
dbname[(db_length= counter)-1]='\0';
}
DBUG_PRINT("info",("Use database: %s", dbname));
if (test_all_bits(thd->master_access,DB_ACLS))
db_access=DB_ACLS;
......
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