Skip to content

Commit 24f5bba

Browse files
committed
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
1 parent e720e50 commit 24f5bba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

storage/connect/ha_connect.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4440,8 +4440,8 @@ MODE ha_connect::CheckMode(PGLOBAL g, THD *thd,
44404440
break;
44414441
// } // endif partitioned
44424442

4443-
case SQLCOM_END:
4444-
// Met in procedures: IF(EXISTS(SELECT...
4443+
case SQLCOM_CHECK: // TODO implement it
4444+
case SQLCOM_END: // Met in procedures: IF(EXISTS(SELECT...
44454445
newmode= MODE_READ;
44464446
break;
44474447
default:

0 commit comments

Comments
 (0)