Commit cbdfdfc8 authored by Olivier Bertrand's avatar Olivier Bertrand

Add CHECK TABLE to the list of accepted commands.

This is to avoid an error to be reported when executing this command on a CONNECT table.
  modified:   storage/connect/ha_connect.cc
parent f5dfd9f6
......@@ -4440,9 +4440,9 @@ MODE ha_connect::CheckMode(PGLOBAL g, THD *thd,
break;
// } // endif partitioned
case SQLCOM_END:
// Met in procedures: IF(EXISTS(SELECT...
newmode= MODE_READ;
case SQLCOM_CHECK: // TODO implement it
case SQLCOM_END: // Met in procedures: IF(EXISTS(SELECT...
newmode= MODE_READ;
break;
default:
htrc("Unsupported sql_command=%d\n", thd_sql_command(thd));
......
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