Commit c52d8874 authored by Alexander Barkov's avatar Alexander Barkov

Skipping MySQL test when no MySQL support is compiled.

modified:
  mysql-test/suite/connect/t/mysql.test
parent 50af1a52
let $PORT= `select @@port`; 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 # TODO: remote VARCHAR is displayed as CHAR
CREATE TABLE t1 (a int, b char(10)); CREATE TABLE t1 (a int, b char(10));
......
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