List:Commits« Previous MessageNext Message »
From:msvensson Date:February 20 2007 12:06pm
Subject:bk commit into 5.0 tree (msvensson:1.2435)
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of msvensson. When msvensson does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet@stripped, 2007-02-20 13:06:01+01:00, msvensson@stripped +1 -0
  Change "exec echo" commands with different delimiters that are also
  escape chars to use "write_file" to avoid confusion about what's what.

  mysql-test/t/mysql.test@stripped, 2007-02-20 13:05:59+01:00, msvensson@stripped +10 -4
    Change "exec echo" commands with different delimiters that are also
    escape chars to use "write_file" to avoid confusion about what's what.

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	msvensson
# Host:	pilot.blaudden
# Root:	/home/msvensson/mysql/mysql-5.0-maint

--- 1.26/mysql-test/t/mysql.test	2007-02-16 16:08:06 +01:00
+++ 1.27/mysql-test/t/mysql.test	2007-02-20 13:05:59 +01:00
@@ -250,16 +250,22 @@
 #
 
 # This should work just fine...
---exec echo "DELIMITER /" > $MYSQLTEST_VARDIR/tmp/bug21412.sql
---exec echo "SELECT 1/"   >> $MYSQLTEST_VARDIR/tmp/bug21412.sql
+--write_file $MYSQLTEST_VARDIR/tmp/bug21412.sql
+DELIMITER /
+SELECT 1/
+EOF
 --exec $MYSQL             < $MYSQLTEST_VARDIR/tmp/bug21412.sql 2>&1
 
 # This should give an error...
---exec echo "DELIMITER \\" > $MYSQLTEST_VARDIR/tmp/bug21412.sql
+--write_file $MYSQLTEST_VARDIR/tmp/bug21412.sql
+DELIMITER \
+EOF
 --exec $MYSQL             < $MYSQLTEST_VARDIR/tmp/bug21412.sql 2>&1
 
 # As should this...
---exec echo "DELIMITER \\\\" > $MYSQLTEST_VARDIR/tmp/bug21412.sql
+--write_file $MYSQLTEST_VARDIR/tmp/bug21412.sql
+DELIMITER \\
+EOF
 --exec $MYSQL             < $MYSQLTEST_VARDIR/tmp/bug21412.sql 2>&1
 
 --echo End of 5.0 tests
Thread
bk commit into 5.0 tree (msvensson:1.2435)msvensson20 Feb