summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mysql.com>2008-07-18 14:07:16 +0500
committerAlexander Barkov <bar@mysql.com>2008-07-18 14:07:16 +0500
commit6a42c35fa74103c8706ffd223a22dd25df7faa63 (patch)
treef1619d412aff3efe008c06b56c1ea45ba8e989da /mysql-test
parent430aaacdaf7405946c3b447e58316a9871113c14 (diff)
downloadmariadb-git-6a42c35fa74103c8706ffd223a22dd25df7faa63.tar.gz
Bug#27934 test client_xml misssing initialization
Problem: missing initialization, if the previous test fails leaving table t1, client_xml fails as well. Fix: adding initialization.
Diffstat (limited to 'mysql-test')
-rw-r--r--mysql-test/r/client_xml.result1
-rw-r--r--mysql-test/t/client_xml.test4
2 files changed, 5 insertions, 0 deletions
diff --git a/mysql-test/r/client_xml.result b/mysql-test/r/client_xml.result
index ed5e8f2c1b8..b7bca426e65 100644
--- a/mysql-test/r/client_xml.result
+++ b/mysql-test/r/client_xml.result
@@ -1,3 +1,4 @@
+drop table if exists t1;
create table t1 (
`a&b` int,
`a<b` int,
diff --git a/mysql-test/t/client_xml.test b/mysql-test/t/client_xml.test
index 8ee63a6131b..81cd5a079ad 100644
--- a/mysql-test/t/client_xml.test
+++ b/mysql-test/t/client_xml.test
@@ -1,6 +1,10 @@
# Can't run with embedded server
-- source include/not_embedded.inc
+--disable_warnings
+drop table if exists t1;
+--enable_warnings
+
# Test of the xml output of the 'mysql' and 'mysqldump' clients -- makes
# sure that basic encoding issues are handled properly
create table t1 (