MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:msvensson Date:August 3 2006 2:47pm
Subject:bk commit into 5.0 tree (msvensson:1.2238) BUG#21215
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, 2006-08-03 16:47:24+02:00, msvensson@neptunus.(none) +2 -0
  Make test case for bug#21215repeateble by calling "reset master"

  mysql-test/r/mysqldump.result@stripped, 2006-08-03 16:47:21+02:00, msvensson@neptunus.(none) +2 -1
    Make test case for bug#21215repeateble by calling "reset master"

  mysql-test/t/mysqldump.test@stripped, 2006-08-03 16:47:21+02:00, msvensson@neptunus.(none) +3 -0
    Make test case for bug#21215repeateble by calling "reset master"

# 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:	neptunus.(none)
# Root:	/home/msvensson/mysql/mysql-5.0

--- 1.108/mysql-test/r/mysqldump.result	2006-08-03 16:47:29 +02:00
+++ 1.109/mysql-test/r/mysqldump.result	2006-08-03 16:47:29 +02:00
@@ -2878,13 +2878,14 @@ drop database mysqldump_dbb;
 use test;
 create user mysqltest_1;
 create table t1(a int, b varchar(34));
+reset master;
 mysqldump: Couldn't execute 'FLUSH TABLES': Access denied; you need the RELOAD privilege for this operation (1227)
 mysqldump: Couldn't execute 'FLUSH TABLES': Access denied; you need the RELOAD privilege for this operation (1227)
 grant RELOAD on *.* to mysqltest_1@localhost;
 mysqldump: Couldn't execute 'SHOW MASTER STATUS': Access denied; you need the SUPER,REPLICATION CLIENT privilege for this operation (1227)
 mysqldump: Couldn't execute 'SHOW MASTER STATUS': Access denied; you need the SUPER,REPLICATION CLIENT privilege for this operation (1227)
 grant REPLICATION CLIENT on *.* to mysqltest_1@localhost;
-CHANGE MASTER TO MASTER_LOG_FILE='master-bin.000003', MASTER_LOG_POS=9227;
+CHANGE MASTER TO MASTER_LOG_FILE='master-bin.000001', MASTER_LOG_POS=537;
 CREATE TABLE `t1` (
   `a` int(11) default NULL,
   `b` varchar(34) default NULL

--- 1.98/mysql-test/t/mysqldump.test	2006-08-03 16:47:29 +02:00
+++ 1.99/mysql-test/t/mysqldump.test	2006-08-03 16:47:29 +02:00
@@ -1276,6 +1276,9 @@ use test;
 create user mysqltest_1;
 create table t1(a int, b varchar(34));
 
+# To get consistent output, reset the master, starts over from first log
+reset master;
+
 # Execute mysqldump, will fail on FLUSH TABLES
 --error 2
 --exec $MYSQL_DUMP --compact --master-data -u mysqltest_1 test 2>&1
Thread
bk commit into 5.0 tree (msvensson:1.2238) BUG#21215msvensson3 Aug