diff options
author | Sergei Golubchik <serg@mariadb.org> | 2015-07-26 00:04:36 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2015-07-27 10:52:21 +0200 |
commit | 00967e114cb4da4dca9bbc127e26facb08ede3ce (patch) | |
tree | 5f31a4d5cae303e34479caf233711c85c1254908 /storage | |
parent | 40a6160f4f977d6d142bdb80f7a4f944c7747097 (diff) | |
download | mariadb-git-00967e114cb4da4dca9bbc127e26facb08ede3ce.tar.gz |
CONNECT: clean up a stray variable
(patch originally by Alexander Barkov)
Diffstat (limited to 'storage')
-rw-r--r-- | storage/connect/ha_connect.cc | 8 |
1 files changed, 8 insertions, 0 deletions
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); |