Commit 1c4a3eb9 authored by Olivier Bertrand's avatar Olivier Bertrand

- Fix bug on ALTER TABLE t1 MODIFY a VARCHAR(10) NOT NULL;

modified:
  storage/connect/ha_connect.cc
parent fe39ea1b
......@@ -3193,7 +3193,7 @@ int ha_connect::delete_or_rename_table(const char *name, const char *to)
TABLE_SHARE *share;
THD *thd= current_thd;
if (sscanf(name, fmt, db, tabname) != 2)
if (sscanf(name, fmt, db, tabname) != 2 || *tabname == '#')
goto fin;
table_list.db= (char*) db;
......
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