Commit 00967e11 authored by Sergei Golubchik's avatar Sergei Golubchik

CONNECT: clean up a stray variable

(patch originally by Alexander Barkov)
parent 40a6160f
...@@ -5690,6 +5690,14 @@ int ha_connect::create(const char *name, TABLE *table_arg, ...@@ -5690,6 +5690,14 @@ int ha_connect::create(const char *name, TABLE *table_arg,
PGLOBAL g= xp->g; PGLOBAL g= xp->g;
DBUG_ENTER("ha_connect::create"); DBUG_ENTER("ha_connect::create");
/*
This assignment fixes test failures if some
"ALTER TABLE t1 ADD KEY(a)" query exits on ER_ACCESS_DENIED_ERROR
(e.g. on missing FILE_ACL). All following "CREATE TABLE" failed with
"ERROR 1105: CONNECT index modification should be in-place"
TODO: check with Olivier.
*/
g->Xchk= NULL;
int sqlcom= thd_sql_command(table_arg->in_use); int sqlcom= thd_sql_command(table_arg->in_use);
PTOS options= GetTableOptionStruct(table_arg->s); PTOS options= GetTableOptionStruct(table_arg->s);
......
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