diff options
author | Alexander Barkov <bar@mnogosearch.org> | 2013-02-04 17:51:36 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mnogosearch.org> | 2013-02-04 17:51:36 +0400 |
commit | 9d8d62eeffd3b03a70f536490b46a38cc4522672 (patch) | |
tree | 3b71f91d1288b0e94d84f85150489823ca748dff /mysql-test | |
parent | ead2372e55f8cd619ff6ff8bc5796fce2199f509 (diff) | |
download | mariadb-git-9d8d62eeffd3b03a70f536490b46a38cc4522672.tar.gz |
Adding preliminary code to skip the test "xml".
It's incomplete, because CONNECT engine allows
to create the table even if libxml2 is not compiled.
Asked Olivier to reject CREATE TABLE in such cases.
modified:
mysql-test/suite/connect/t/xml.test
Diffstat (limited to 'mysql-test')
-rw-r--r-- | mysql-test/suite/connect/t/xml.test | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/mysql-test/suite/connect/t/xml.test b/mysql-test/suite/connect/t/xml.test index 15dde73d8d8..3797a7a0525 100644 --- a/mysql-test/suite/connect/t/xml.test +++ b/mysql-test/suite/connect/t/xml.test @@ -1,3 +1,18 @@ +--disable_query_log +--error 0 +CREATE TABLE t1 (a VARCHAR(10)) +ENGINE=CONNECT TABLE_TYPE=XML OPTION_LIST='xmlsup=libxml2'; +if (!`SELECT count(*) FROM INFORMATION_SCHEMA.TABLES + WHERE TABLE_SCHEMA='test' AND TABLE_NAME='t1' + AND ENGINE='CONNECT' + AND CREATE_OPTIONS LIKE '%xmlsup=libxml2%'`) +{ + Skip Need LIBXML2; +} +DROP TABLE t1; +--enable_query_log + + let $MYSQLD_DATADIR= `select @@datadir`; SET NAMES utf8; |