Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
267aeffc
Commit
267aeffc
authored
Jul 03, 2006
by
cmiller@zippy.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Renumber events to make tests pass. This must be a result of removing extraneous
COMMITs -- the numbers collapse to fill the gaps.
parent
5db7673f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
13 deletions
+13
-13
mysql-test/r/rpl_row_create_table.result
mysql-test/r/rpl_row_create_table.result
+10
-10
mysql-test/t/rpl_row_create_table.test
mysql-test/t/rpl_row_create_table.test
+3
-3
No files found.
mysql-test/r/rpl_row_create_table.result
View file @
267aeffc
...
...
@@ -137,11 +137,11 @@ a b
1 2
2 4
3 6
SHOW BINLOG EVENTS FROM 1
256
;
SHOW BINLOG EVENTS FROM 1
118
;
Log_name Pos Event_type Server_id End_log_pos Info
master-bin.000001 1
256 Query 1 1356
use `test`; CREATE TABLE t7 (a INT, b INT UNIQUE)
master-bin.000001 1
356 Table_map 1 1396
table_id: # (test.t7)
master-bin.000001 1
396 Write_rows 1 1452
table_id: # flags: STMT_END_F
master-bin.000001 1
118 Query 1 1218
use `test`; CREATE TABLE t7 (a INT, b INT UNIQUE)
master-bin.000001 1
218 Table_map 1 1258
table_id: # (test.t7)
master-bin.000001 1
258 Write_rows 1 1314
table_id: # flags: STMT_END_F
SELECT * FROM t7 ORDER BY a,b;
a b
1 2
...
...
@@ -154,10 +154,10 @@ INSERT INTO t7 SELECT a,b FROM tt4;
ROLLBACK;
Warnings:
Warning 1196 Some non-transactional changed tables couldn't be rolled back
SHOW BINLOG EVENTS FROM 1
452
;
SHOW BINLOG EVENTS FROM 1
314
;
Log_name Pos Event_type Server_id End_log_pos Info
master-bin.000001 1
452 Table_map 1 1492
table_id: # (test.t7)
master-bin.000001 1
492 Write_rows 1 1548
table_id: # flags: STMT_END_F
master-bin.000001 1
314 Table_map 1 1354
table_id: # (test.t7)
master-bin.000001 1
354 Write_rows 1 1410
table_id: # flags: STMT_END_F
SELECT * FROM t7 ORDER BY a,b;
a b
1 2
...
...
@@ -191,10 +191,10 @@ Create Table CREATE TABLE `t9` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1
SHOW BINLOG EVENTS FROM 1
548
;
SHOW BINLOG EVENTS FROM 1
410
;
Log_name Pos Event_type Server_id End_log_pos Info
master-bin.000001 1
548 Query 1 1634
use `test`; CREATE TABLE t8 LIKE t4
master-bin.000001 1
634 Query 1 1773
use `test`; CREATE TABLE `t9` (
master-bin.000001 1
410 Query 1 1496
use `test`; CREATE TABLE t8 LIKE t4
master-bin.000001 1
496 Query 1 1635
use `test`; CREATE TABLE `t9` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL
)
...
...
mysql-test/t/rpl_row_create_table.test
View file @
267aeffc
...
...
@@ -76,7 +76,7 @@ INSERT INTO t7 SELECT a,b FROM tt3;
SELECT
*
FROM
t7
ORDER
BY
a
,
b
;
# Should be written to the binary log
--
replace_regex
/
table_id
:
[
0
-
9
]
+/
table_id
:
#/
SHOW
BINLOG
EVENTS
FROM
1
256
;
SHOW
BINLOG
EVENTS
FROM
1
118
;
sync_slave_with_master
;
SELECT
*
FROM
t7
ORDER
BY
a
,
b
;
...
...
@@ -87,7 +87,7 @@ BEGIN;
INSERT
INTO
t7
SELECT
a
,
b
FROM
tt4
;
ROLLBACK
;
--
replace_regex
/
table_id
:
[
0
-
9
]
+/
table_id
:
#/
SHOW
BINLOG
EVENTS
FROM
1
452
;
SHOW
BINLOG
EVENTS
FROM
1
314
;
SELECT
*
FROM
t7
ORDER
BY
a
,
b
;
sync_slave_with_master
;
SELECT
*
FROM
t7
ORDER
BY
a
,
b
;
...
...
@@ -101,7 +101,7 @@ CREATE TEMPORARY TABLE tt6 LIKE tt4;
--
query_vertical
SHOW
CREATE
TABLE
t8
--
query_vertical
SHOW
CREATE
TABLE
t9
--
replace_regex
/
table_id
:
[
0
-
9
]
+/
table_id
:
#/
SHOW
BINLOG
EVENTS
FROM
1
548
;
SHOW
BINLOG
EVENTS
FROM
1
410
;
sync_slave_with_master
;
--
echo
****
On
Slave
****
--
query_vertical
SHOW
CREATE
TABLE
t8
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment