diff options
author | Olivier Bertrand <bertrandop@gmail.com> | 2017-05-28 12:43:54 +0200 |
---|---|---|
committer | Olivier Bertrand <bertrandop@gmail.com> | 2017-05-28 12:43:54 +0200 |
commit | cbdfdfc829ec8c0e0bcd426d5a18d9c97e1065f8 (patch) | |
tree | c7631afa07e29241af1b823d80ab278e20eec1d2 | |
parent | f5dfd9f6cd27c12100849321067fcf760d3f828c (diff) | |
download | mariadb-git-cbdfdfc829ec8c0e0bcd426d5a18d9c97e1065f8.tar.gz |
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
-rw-r--r-- | storage/connect/ha_connect.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/storage/connect/ha_connect.cc b/storage/connect/ha_connect.cc index 90d0d6900bb..a063bdd52f6 100644 --- a/storage/connect/ha_connect.cc +++ b/storage/connect/ha_connect.cc @@ -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)); |