Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
d3372258
Commit
d3372258
authored
Nov 06, 2020
by
Olivier Bertrand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update tests to cope with changes
parent
a4e999ee
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
17 additions
and
8 deletions
+17
-8
storage/connect/mysql-test/connect/r/json_java_2.result
storage/connect/mysql-test/connect/r/json_java_2.result
+1
-0
storage/connect/mysql-test/connect/r/json_java_3.result
storage/connect/mysql-test/connect/r/json_java_3.result
+1
-0
storage/connect/mysql-test/connect/r/json_mongo_c.result
storage/connect/mysql-test/connect/r/json_mongo_c.result
+1
-0
storage/connect/mysql-test/connect/r/mongo_c.result
storage/connect/mysql-test/connect/r/mongo_c.result
+1
-0
storage/connect/mysql-test/connect/r/mongo_java_2.result
storage/connect/mysql-test/connect/r/mongo_java_2.result
+1
-0
storage/connect/mysql-test/connect/r/mongo_java_3.result
storage/connect/mysql-test/connect/r/mongo_java_3.result
+1
-0
storage/connect/mysql-test/connect/r/xml2_zip.result
storage/connect/mysql-test/connect/r/xml2_zip.result
+2
-2
storage/connect/mysql-test/connect/r/xml_zip.result
storage/connect/mysql-test/connect/r/xml_zip.result
+2
-2
storage/connect/mysql-test/connect/t/json_java_2.test
storage/connect/mysql-test/connect/t/json_java_2.test
+1
-0
storage/connect/mysql-test/connect/t/json_java_3.test
storage/connect/mysql-test/connect/t/json_java_3.test
+1
-0
storage/connect/mysql-test/connect/t/mongo_test.inc
storage/connect/mysql-test/connect/t/mongo_test.inc
+1
-0
storage/connect/mysql-test/connect/t/xml2_zip.test
storage/connect/mysql-test/connect/t/xml2_zip.test
+2
-2
storage/connect/mysql-test/connect/t/xml_zip.test
storage/connect/mysql-test/connect/t/xml_zip.test
+2
-2
No files found.
storage/connect/mysql-test/connect/r/json_java_2.result
View file @
d3372258
set connect_enable_mongo=1;
set connect_json_all_path=0;
#
# Test the MONGO table type
#
...
...
storage/connect/mysql-test/connect/r/json_java_3.result
View file @
d3372258
set connect_enable_mongo=1;
set connect_json_all_path=0;
#
# Test the MONGO table type
#
...
...
storage/connect/mysql-test/connect/r/json_mongo_c.result
View file @
d3372258
set connect_enable_mongo=1;
set connect_json_all_path=0;
#
# Test the MONGO table type
#
...
...
storage/connect/mysql-test/connect/r/mongo_c.result
View file @
d3372258
set connect_enable_mongo=1;
set connect_json_all_path=0;
#
# Test the MONGO table type
#
...
...
storage/connect/mysql-test/connect/r/mongo_java_2.result
View file @
d3372258
set connect_enable_mongo=1;
set connect_json_all_path=0;
#
# Test the MONGO table type
#
...
...
storage/connect/mysql-test/connect/r/mongo_java_3.result
View file @
d3372258
set connect_enable_mongo=1;
set connect_json_all_path=0;
#
# Test the MONGO table type
#
...
...
storage/connect/mysql-test/connect/r/xml2_zip.result
View file @
d3372258
...
...
@@ -17,7 +17,7 @@ PUBLISHER_NAME CHAR(15) NOT NULL XPATH='PUBLISHER/NAME',
PUBLISHER_PLACE CHAR(5) NOT NULL XPATH='PUBLISHER/PLACE',
DATEPUB CHAR(4) NOT NULL
) ENGINE=CONNECT TABLE_TYPE=XML FILE_NAME='xsample2.zip' ZIPPED=YES
OPTION_LIST='entry=xsample2.xml,load=xsample2.xml,rownode=BOOK,xmlsup=libxml2,expand=1,mulnode=AUTHOR';
OPTION_LIST='
depth=0,
entry=xsample2.xml,load=xsample2.xml,rownode=BOOK,xmlsup=libxml2,expand=1,mulnode=AUTHOR';
SELECT * FROM t1;
ISBN 9782212090819
LANG fr
...
...
@@ -69,7 +69,7 @@ PUBLISHER_PLACE Paris
DATEPUB 2003
CREATE TABLE t2
ENGINE=CONNECT TABLE_TYPE=XML FILE_NAME='xsample2.zip' ZIPPED=YES
OPTION_LIST='xmlsup=libxml2';
OPTION_LIST='
depth=0,
xmlsup=libxml2';
SELECT * FROM t2;
ISBN 9782212090819
LANG fr
...
...
storage/connect/mysql-test/connect/r/xml_zip.result
View file @
d3372258
...
...
@@ -15,7 +15,7 @@ PUBLISHER_NAME CHAR(15) NOT NULL XPATH='PUBLISHER/NAME',
PUBLISHER_PLACE CHAR(5) NOT NULL XPATH='PUBLISHER/PLACE',
DATEPUB CHAR(4) NOT NULL
) ENGINE=CONNECT TABLE_TYPE=XML FILE_NAME='xsample2.zip' ZIPPED=YES
OPTION_LIST='entry=xsample2.xml,load=xsample2.xml,rownode=BOOK,xmlsup=domdoc,expand=1,mulnode=AUTHOR';
OPTION_LIST='
depth=0,
entry=xsample2.xml,load=xsample2.xml,rownode=BOOK,xmlsup=domdoc,expand=1,mulnode=AUTHOR';
SELECT * FROM t1;
ISBN 9782212090819
LANG fr
...
...
@@ -67,7 +67,7 @@ PUBLISHER_PLACE Paris
DATEPUB 2003
CREATE TABLE t2
ENGINE=CONNECT TABLE_TYPE=XML FILE_NAME='xsample2.zip' ZIPPED=YES
OPTION_LIST='xmlsup=domdoc';
OPTION_LIST='
depth=0,
xmlsup=domdoc';
SELECT * FROM t2;
ISBN 9782212090819
LANG fr
...
...
storage/connect/mysql-test/connect/t/json_java_2.test
View file @
d3372258
...
...
@@ -3,6 +3,7 @@
--
disable_query_log
eval
SET
GLOBAL
connect_class_path
=
'$MTR_SUITE_DIR/std_data/Mongo2.jar'
;
set
connect_json_all_path
=
0
;
--
enable_query_log
let
$DRV
=
Java
;
let
$VERS
=
2
;
...
...
storage/connect/mysql-test/connect/t/json_java_3.test
View file @
d3372258
...
...
@@ -3,6 +3,7 @@
--
disable_query_log
eval
SET
GLOBAL
connect_class_path
=
'$MTR_SUITE_DIR/std_data/Mongo3.jar'
;
set
connect_json_all_path
=
0
;
--
enable_query_log
let
$DRV
=
Java
;
let
$VERS
=
3
;
...
...
storage/connect/mysql-test/connect/t/mongo_test.inc
View file @
d3372258
set
connect_enable_mongo
=
1
;
set
connect_json_all_path
=
0
;
--
echo
#
--
echo
# Test the MONGO table type
...
...
storage/connect/mysql-test/connect/t/xml2_zip.test
View file @
d3372258
...
...
@@ -24,13 +24,13 @@ PUBLISHER_NAME CHAR(15) NOT NULL XPATH='PUBLISHER/NAME',
PUBLISHER_PLACE
CHAR
(
5
)
NOT
NULL
XPATH
=
'PUBLISHER/PLACE'
,
DATEPUB
CHAR
(
4
)
NOT
NULL
)
ENGINE
=
CONNECT
TABLE_TYPE
=
XML
FILE_NAME
=
'xsample2.zip'
ZIPPED
=
YES
OPTION_LIST
=
'entry=xsample2.xml,load=xsample2.xml,rownode=BOOK,xmlsup=libxml2,expand=1,mulnode=AUTHOR'
;
OPTION_LIST
=
'
depth=0,
entry=xsample2.xml,load=xsample2.xml,rownode=BOOK,xmlsup=libxml2,expand=1,mulnode=AUTHOR'
;
SELECT
*
FROM
t1
;
#testing discovery
CREATE
TABLE
t2
ENGINE
=
CONNECT
TABLE_TYPE
=
XML
FILE_NAME
=
'xsample2.zip'
ZIPPED
=
YES
OPTION_LIST
=
'xmlsup=libxml2'
;
OPTION_LIST
=
'
depth=0,
xmlsup=libxml2'
;
SELECT
*
FROM
t2
;
DROP
TABLE
t1
,
t2
;
...
...
storage/connect/mysql-test/connect/t/xml_zip.test
View file @
d3372258
...
...
@@ -24,13 +24,13 @@ PUBLISHER_NAME CHAR(15) NOT NULL XPATH='PUBLISHER/NAME',
PUBLISHER_PLACE
CHAR
(
5
)
NOT
NULL
XPATH
=
'PUBLISHER/PLACE'
,
DATEPUB
CHAR
(
4
)
NOT
NULL
)
ENGINE
=
CONNECT
TABLE_TYPE
=
XML
FILE_NAME
=
'xsample2.zip'
ZIPPED
=
YES
OPTION_LIST
=
'entry=xsample2.xml,load=xsample2.xml,rownode=BOOK,xmlsup=domdoc,expand=1,mulnode=AUTHOR'
;
OPTION_LIST
=
'
depth=0,
entry=xsample2.xml,load=xsample2.xml,rownode=BOOK,xmlsup=domdoc,expand=1,mulnode=AUTHOR'
;
SELECT
*
FROM
t1
;
#testing discovery
CREATE
TABLE
t2
ENGINE
=
CONNECT
TABLE_TYPE
=
XML
FILE_NAME
=
'xsample2.zip'
ZIPPED
=
YES
OPTION_LIST
=
'xmlsup=domdoc'
;
OPTION_LIST
=
'
depth=0,
xmlsup=domdoc'
;
SELECT
*
FROM
t2
;
DROP
TABLE
t1
,
t2
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment