|
|
|
@ -1,5 +1,20 @@ |
|
|
|
let $PORT= `select @@port`; |
|
|
|
|
|
|
|
--disable_query_log |
|
|
|
--replace_result $PORT PORT |
|
|
|
--error 0,ER_UNKNOWN_ERROR |
|
|
|
--eval CREATE TABLE t1 (a INT) ENGINE=CONNECT TABLE_TYPE=MYSQL TABNAME='t1' OPTION_LIST='host=localhost,user=root,port=$PORT' |
|
|
|
if (!`SELECT count(*) FROM INFORMATION_SCHEMA.TABLES |
|
|
|
WHERE TABLE_SCHEMA='test' AND TABLE_NAME='t1' |
|
|
|
AND ENGINE='CONNECT' |
|
|
|
AND CREATE_OPTIONS LIKE '%`table_type`=MySQL%'`) |
|
|
|
{ |
|
|
|
Skip Need MySQL support; |
|
|
|
} |
|
|
|
DROP TABLE t1; |
|
|
|
--enable_query_log |
|
|
|
|
|
|
|
|
|
|
|
# TODO: remote VARCHAR is displayed as CHAR |
|
|
|
|
|
|
|
CREATE TABLE t1 (a int, b char(10)); |
|
|
|
|