MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:Serge Kozlov Date:February 15 2009 11:38pm
Subject:bzr commit into mysql-5.1-bugteam branch (Serge.Kozlov:2801) Bug#40409
View as plain text  
#At file:///home/ksm/sun/repo/bug40409/mysql-5.1-bugteam/ based on revid:alexey.kopytov@stripped

 2801 Serge Kozlov	2009-02-16
      Bug#40409: Command 'grep' doesn't exist for Windows platforms and  this command
      replaced by perl code.
      modified:
        mysql-test/t/mysqlbinlog.test

=== modified file 'mysql-test/t/mysqlbinlog.test'
--- a/mysql-test/t/mysqlbinlog.test	2008-02-28 11:21:44 +0000
+++ b/mysql-test/t/mysqlbinlog.test	2009-02-15 23:37:55 +0000
@@ -232,8 +232,17 @@ flush logs;
 INSERT INTO t1 VALUES ('0123456789');
 flush logs;
 DROP TABLE t1;
---exec $MYSQL_BINLOG --hexdump --local-load=$MYSQLTEST_VARDIR/tmp/ $MYSQLD_DATADIR/master-bin.000012 | grep 'Query' | sed 's/[0-9]\{1,\}/REMOVED/g'
-
+--exec $MYSQL_BINLOG --hexdump --local-load=$MYSQLTEST_VARDIR/tmp/ $MYSQLD_DATADIR/master-bin.000012 > $MYSQLTEST_VARDIR/tmp/bug28293.sql
+perl;
+open F, $ENV{'MYSQLTEST_VARDIR'}.'/tmp/bug28293.sql' or die "File $ENV{'MYSQLTEST_VARDIR'}/tmp/bug28293.sql not found";
+while (<F>) {
+  if (m/Query/) {
+    s/[0-9]+/REMOVED/g;
+    print;
+  }
+}
+close F;
+EOF
 #
 # Bug #29928: incorrect connection_id() restoring from mysqlbinlog out
 #

Thread
bzr commit into mysql-5.1-bugteam branch (Serge.Kozlov:2801) Bug#40409Serge Kozlov16 Feb
  • Re: bzr commit into mysql-5.1-bugteam branch (Serge.Kozlov:2801)Bug#40409Alfranio Correia19 Feb