Below is the list of changes that have just been committed into a local
5.1 repository of elkin. When elkin 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-10-23 12:36:05+03:00, aelkin@stripped
+3 -0
Bug #22762 create talbe if not exists like a-temp-table binlogged w/o "if not exists"
Bug #22027 CREATE TABLE IF NOT EXISTS SELECT logged improperly with row-based binlog
post-merge fix, also making results without server's version number.
mysql-test/extra/binlog_tests/binlog.test@stripped, 2006-10-23 12:36:02+03:00,
aelkin@stripped +1 -1
eliminating format-description line in show binlog events.
mysql-test/r/binlog_row_binlog.result@stripped, 2006-10-23 12:36:02+03:00,
aelkin@stripped +1 -2
results changed
mysql-test/r/binlog_row_mix_innodb_myisam.result@stripped, 2006-10-23 12:36:02+03:00,
aelkin@stripped +0 -18
results changed: the test got changed by another fix for bug#20265
# 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: aelkin
# Host: dsl-hkigw8-febefb00-148.dhcp.inet.fi
# Root: /home/elkin/MySQL/TEAM/FIXES/5.1/bug22027_create_select_exists
--- 1.9/mysql-test/r/binlog_row_binlog.result 2006-10-23 12:36:12 +03:00
+++ 1.10/mysql-test/r/binlog_row_binlog.result 2006-10-23 12:36:12 +03:00
@@ -249,9 +249,8 @@ create table t1 (a int);
create table if not exists t2 select * from t1;
create temporary table tt1 (a int);
create table if not exists t3 like tt1;
-show binlog events;
+show binlog events from 102;
Log_name Pos Event_type Server_id End_log_pos Info
-master-bin.000001 # Format_desc 1 # Server ver: 5.1.12-beta-debug-log, Binlog ver: 4
master-bin.000001 # Query 1 # use `test`; create table t1 (id tinyint auto_increment
primary key)
master-bin.000001 # Table_map 1 # table_id: # (test.t1)
master-bin.000001 # Write_rows 1 # table_id: # flags: STMT_END_F
--- 1.14/mysql-test/r/binlog_row_mix_innodb_myisam.result 2006-10-23 12:36:12 +03:00
+++ 1.15/mysql-test/r/binlog_row_mix_innodb_myisam.result 2006-10-23 12:36:12 +03:00
@@ -359,15 +359,6 @@ show binlog events from 102;
Log_name Pos Event_type Server_id End_log_pos Info
master-bin.000001 # Table_map 1 # table_id: # (test.t1)
master-bin.000001 # Write_rows 1 # table_id: # flags: STMT_END_F
-master-bin.000001 # Query 1 # use `test`; BEGIN
-master-bin.000001 # Query 1 # use `test`; CREATE TABLE `t2` (
- `a` int(11) NOT NULL DEFAULT '0',
- `b` int(11) DEFAULT NULL,
- PRIMARY KEY (`a`)
-) ENGINE=InnoDB
-master-bin.000001 # Table_map 1 # table_id: # (test.t2)
-master-bin.000001 # Write_rows 1 # table_id: # flags: STMT_END_F
-master-bin.000001 # Xid 1 # COMMIT /* xid= */
master-bin.000001 # Query 1 # use `test`; DROP TABLE if exists t2
master-bin.000001 # Table_map 1 # table_id: # (test.t1)
master-bin.000001 # Write_rows 1 # table_id: # flags: STMT_END_F
@@ -375,15 +366,6 @@ master-bin.000001 # Query 1 # use `test`
master-bin.000001 # Query 1 # use `test`; CREATE TABLE t2 (a int, b int, primary key (a))
engine=innodb
master-bin.000001 # Table_map 1 # table_id: # (test.t1)
master-bin.000001 # Write_rows 1 # table_id: # flags: STMT_END_F
-master-bin.000001 # Query 1 # use `test`; BEGIN
-master-bin.000001 # Query 1 # use `test`; CREATE TABLE IF NOT EXISTS `t2` (
- `a` int(11) NOT NULL DEFAULT '0',
- `b` int(11) DEFAULT NULL,
- PRIMARY KEY (`a`)
-) ENGINE=InnoDB
-master-bin.000001 # Table_map 1 # table_id: # (test.t2)
-master-bin.000001 # Write_rows 1 # table_id: # flags: STMT_END_F
-master-bin.000001 # Xid 1 # COMMIT /* xid= */
master-bin.000001 # Query 1 # use `test`; TRUNCATE table t2
master-bin.000001 # Xid 1 # COMMIT /* xid= */
master-bin.000001 # Table_map 1 # table_id: # (test.t1)
--- 1.14/mysql-test/extra/binlog_tests/binlog.test 2006-10-23 12:36:12 +03:00
+++ 1.15/mysql-test/extra/binlog_tests/binlog.test 2006-10-23 12:36:12 +03:00
@@ -69,7 +69,7 @@ create table if not exists t3 like tt1;
--replace_column 2 # 5 #
--replace_regex /table_id: [0-9]+/table_id: #/ /\/\* xid=.* \*\//\/* xid= *\//
-show binlog events;
+show binlog events from 102;
drop table t1,t2,t3,tt1;
-- source extra/binlog_tests/binlog_insert_delayed.test
| Thread |
|---|
| • bk commit into 5.1 tree (aelkin:1.2322) BUG#22027 | Andrei Elkin | 23 Oct |