List:Commits« Previous MessageNext Message »
From:Alexander Barkov Date:July 18 2008 9:07am
Subject:commit into mysql-5.0 branch (bar:2645) Bug#27934
View as plain text  
#At file:///home/bar/mysql-bzr/mysql-5.0-bugteam/

 2645 Alexander Barkov	2008-07-18
      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.
modified:
  mysql-test/r/client_xml.result
  mysql-test/t/client_xml.test

=== modified file 'mysql-test/r/client_xml.result'
--- a/mysql-test/r/client_xml.result	2007-04-09 12:53:10 +0000
+++ b/mysql-test/r/client_xml.result	2008-07-18 09:07:16 +0000
@@ -1,3 +1,4 @@
+drop table if exists t1;
 create table t1 (
 `a&b` int,
 `a<b` int,

=== modified file 'mysql-test/t/client_xml.test'
--- a/mysql-test/t/client_xml.test	2007-04-09 12:53:10 +0000
+++ b/mysql-test/t/client_xml.test	2008-07-18 09:07:16 +0000
@@ -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 (

Thread
commit into mysql-5.0 branch (bar:2645) Bug#27934Alexander Barkov18 Jul