From 00967e114cb4da4dca9bbc127e26facb08ede3ce Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Sun, 26 Jul 2015 00:04:36 +0200 Subject: CONNECT: clean up a stray variable (patch originally by Alexander Barkov) --- storage/connect/ha_connect.cc | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'storage') diff --git a/storage/connect/ha_connect.cc b/storage/connect/ha_connect.cc index 27a71bc152e..f1a223be10f 100644 --- a/storage/connect/ha_connect.cc +++ b/storage/connect/ha_connect.cc @@ -5690,6 +5690,14 @@ int ha_connect::create(const char *name, TABLE *table_arg, PGLOBAL g= xp->g; 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); PTOS options= GetTableOptionStruct(table_arg->s); -- cgit v1.2.1