Skip to content

Commit

Permalink
Remove warning when using connect have_libxml2.inc
Browse files Browse the repository at this point in the history
  • Loading branch information
montywi committed May 24, 2022
1 parent 847ca89 commit ddb1f7c
Show file tree
Hide file tree
Showing 9 changed files with 2 additions and 16 deletions.
2 changes: 0 additions & 2 deletions storage/connect/mysql-test/connect/r/alter_xml2.result
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
Warnings:
Warning 1105 No file name. Table will use t1.xml
#
# Testing changing table type (not in-place)
#
Expand Down
2 changes: 0 additions & 2 deletions storage/connect/mysql-test/connect/r/infoschema2-9739.result
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
Warnings:
Warning 1105 No file name. Table will use t1.xml
create table t1 (i int) engine=Connect table_type=XML option_list='xmlsup=libxml2';
Warnings:
Warning 1105 No file name. Table will use t1.xml
Expand Down
2 changes: 0 additions & 2 deletions storage/connect/mysql-test/connect/r/xml2.result
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
Warnings:
Warning 1105 No file name. Table will use t1.xml
SET NAMES utf8;
#
# Testing tag values
Expand Down
2 changes: 0 additions & 2 deletions storage/connect/mysql-test/connect/r/xml2_grant.result
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
Warnings:
Warning 1105 No file name. Table will use t1.xml
#
# Beginning of grant.inc
#
Expand Down
2 changes: 0 additions & 2 deletions storage/connect/mysql-test/connect/r/xml2_html.result
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
Warnings:
Warning 1105 No file name. Table will use t1.xml
SET NAMES utf8;
#
# Testing HTML like XML file
Expand Down
2 changes: 0 additions & 2 deletions storage/connect/mysql-test/connect/r/xml2_mdev5261.result
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
Warnings:
Warning 1105 No file name. Table will use t1.xml
SET NAMES utf8;
CREATE TABLE t1 (i INT UNIQUE NOT NULL) ENGINE=CONNECT TABLE_TYPE=XML FILE_NAME='xt1.xml' OPTION_LIST='xmlsup=libxml2,Rownode=N';
ERROR HY000: Table type XML is not indexable
Expand Down
2 changes: 0 additions & 2 deletions storage/connect/mysql-test/connect/r/xml2_mult.result
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
Warnings:
Warning 1105 No file name. Table will use t1.xml
SET NAMES utf8;
#
# Testing expanded values
Expand Down
2 changes: 0 additions & 2 deletions storage/connect/mysql-test/connect/r/xml2_zip.result
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
Warnings:
Warning 1105 No file name. Table will use t1.xml
#
# Testing zipped XML tables
#
Expand Down
2 changes: 2 additions & 0 deletions storage/connect/mysql-test/connect/t/have_libxml2.inc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
--disable_query_log
--disable_warnings
--error 0,ER_UNKNOWN_ERROR
CREATE TABLE t1 (a VARCHAR(10))
ENGINE=CONNECT TABLE_TYPE=XML OPTION_LIST='xmlsup=libxml2';
Expand All @@ -12,6 +13,7 @@ if (!`SELECT count(*) FROM INFORMATION_SCHEMA.TABLES
Skip Need LIBXML2;
}
DROP TABLE t1;
--enable_warnings
--enable_query_log


0 comments on commit ddb1f7c

Please sign in to comment.