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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
57fcf1cb
Commit
57fcf1cb
authored
Dec 10, 2013
by
Alexander Barkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moving the code checking libxml2 into a *.inc file.
parent
1e1345c4
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
45 deletions
+20
-45
storage/connect/mysql-test/connect/t/have_libxml2.inc
storage/connect/mysql-test/connect/t/have_libxml2.inc
+17
-0
storage/connect/mysql-test/connect/t/xml.test
storage/connect/mysql-test/connect/t/xml.test
+1
-15
storage/connect/mysql-test/connect/t/xml_grant.test
storage/connect/mysql-test/connect/t/xml_grant.test
+1
-16
storage/connect/mysql-test/connect/t/xml_mdev5261.test
storage/connect/mysql-test/connect/t/xml_mdev5261.test
+1
-14
No files found.
storage/connect/mysql-test/connect/t/have_libxml2.inc
0 → 100644
View file @
57fcf1cb
--
disable_query_log
--
error
0
,
ER_UNKNOWN_ERROR
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 '%`
table_type
`=XML%'
AND CREATE_OPTIONS LIKE '%xmlsup=libxml2%'`
)
{
DROP
TABLE
IF
EXISTS
t1
;
Skip
Need
LIBXML2
;
}
DROP
TABLE
t1
;
--
enable_query_log
storage/connect/mysql-test/connect/t/xml.test
View file @
57fcf1cb
--
disable_query_log
--
error
0
,
ER_UNKNOWN_ERROR
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 '%`
table_type
`=XML%'
AND CREATE_OPTIONS LIKE '%xmlsup=libxml2%'`
)
{
Skip
Need
LIBXML2
;
}
DROP
TABLE
t1
;
--
enable_query_log
--
source
have_libxml2
.
inc
let
$MYSQLD_DATADIR
=
`select @@datadir`
;
...
...
storage/connect/mysql-test/connect/t/xml_grant.test
View file @
57fcf1cb
--
source
include
/
not_embedded
.
inc
--
disable_query_log
--
error
0
,
ER_UNKNOWN_ERROR
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 '%`
table_type
`=XML%'
AND CREATE_OPTIONS LIKE '%xmlsup=libxml2%'`
)
{
Skip
Need
LIBXML2
;
}
DROP
TABLE
t1
;
--
enable_query_log
--
source
have_libxml2
.
inc
let
$MYSQLD_DATADIR
=
`select @@datadir`
;
...
...
storage/connect/mysql-test/connect/t/xml_mdev5261.test
View file @
57fcf1cb
--
disable_query_log
--
error
0
,
ER_UNKNOWN_ERROR
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 '%`
table_type
`=XML%'
AND CREATE_OPTIONS LIKE '%xmlsup=libxml2%'`
)
{
Skip
Need
LIBXML2
;
}
DROP
TABLE
t1
;
--
enable_query_log
--
source
have_libxml2
.
inc
let
$MYSQLD_DATADIR
=
`select @@datadir`
;
...
...
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