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
b3977379
Commit
b3977379
authored
Jul 09, 2006
by
guilhem@gbichot3.local
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixes in test results (using # for positions in SHOW BINLOG EVENTS).
parent
f6c996f0
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
152 additions
and
179 deletions
+152
-179
mysql-test/extra/binlog_tests/mix_innodb_myisam_binlog.test
mysql-test/extra/binlog_tests/mix_innodb_myisam_binlog.test
+14
-13
mysql-test/r/binlog_row_mix_innodb_myisam.result
mysql-test/r/binlog_row_mix_innodb_myisam.result
+138
-166
No files found.
mysql-test/extra/binlog_tests/mix_innodb_myisam_binlog.test
View file @
b3977379
...
...
@@ -29,7 +29,7 @@ insert into t1 values(1);
insert
into
t2
select
*
from
t1
;
commit
;
--
replace_column
5
#
--
replace_column
2
#
5 #
--
replace_regex
/
table_id
:
[
0
-
9
]
+/
table_id
:
#/ /\/\* xid=.* \*\//\/* xid= *\//
show
binlog
events
from
102
;
...
...
@@ -43,7 +43,7 @@ insert into t2 select * from t1;
# should say some changes to non-transact1onal tables couldn't be rolled back
rollback
;
--
replace_column
5
#
--
replace_column
2
#
5 #
--
replace_regex
/
table_id
:
[
0
-
9
]
+/
table_id
:
#/ /\/\* xid=.* \*\//\/* xid= *\//
show
binlog
events
from
102
;
...
...
@@ -59,7 +59,7 @@ insert into t2 select * from t1;
rollback
to
savepoint
my_savepoint
;
commit
;
--
replace_column
5
#
--
replace_column
2
#
5 #
--
replace_regex
/
table_id
:
[
0
-
9
]
+/
table_id
:
#/ /\/\* xid=.* \*\//\/* xid= *\//
show
binlog
events
from
102
;
...
...
@@ -77,7 +77,7 @@ insert into t1 values(7);
commit
;
select
a
from
t1
order
by
a
;
# check that savepoints work :)
--
replace_column
5
#
--
replace_column
2
#
5 #
--
replace_regex
/
table_id
:
[
0
-
9
]
+/
table_id
:
#/ /\/\* xid=.* \*\//\/* xid= *\//
show
binlog
events
from
102
;
...
...
@@ -99,7 +99,7 @@ connection con2;
# so SHOW BINLOG EVENTS may come before con1 does the loggin. To be sure that
# logging has been done, we use a user lock.
select
get_lock
(
"a"
,
10
);
--
replace_column
5
#
--
replace_column
2
#
5 #
--
replace_regex
/
table_id
:
[
0
-
9
]
+/
table_id
:
#/ /\/\* xid=.* \*\//\/* xid= *\//
show
binlog
events
from
102
;
...
...
@@ -111,7 +111,7 @@ reset master;
insert
into
t1
values
(
9
);
insert
into
t2
select
*
from
t1
;
--
replace_column
5
#
--
replace_column
2
#
5 #
--
replace_regex
/
table_id
:
[
0
-
9
]
+/
table_id
:
#/ /\/\* xid=.* \*\//\/* xid= *\//
show
binlog
events
from
102
;
...
...
@@ -124,13 +124,13 @@ reset master;
insert
into
t1
values
(
10
);
# first make t1 non-empty
begin
;
insert
into
t2
select
*
from
t1
;
--
replace_column
5
#
--
replace_column
2
#
5 #
--
replace_regex
/
table_id
:
[
0
-
9
]
+/
table_id
:
#/ /\/\* xid=.* \*\//\/* xid= *\//
show
binlog
events
from
102
;
insert
into
t1
values
(
11
);
commit
;
--
replace_column
5
#
--
replace_column
2
#
5 #
--
replace_regex
/
table_id
:
[
0
-
9
]
+/
table_id
:
#/ /\/\* xid=.* \*\//\/* xid= *\//
show
binlog
events
from
102
;
...
...
@@ -149,7 +149,7 @@ insert into t1 values(12);
insert
into
t2
select
*
from
t1
;
commit
;
--
replace_column
5
#
--
replace_column
2
#
5 #
--
replace_regex
/
table_id
:
[
0
-
9
]
+/
table_id
:
#/ /\/\* xid=.* \*\//\/* xid= *\//
show
binlog
events
from
102
;
...
...
@@ -162,7 +162,7 @@ insert into t1 values(13);
insert
into
t2
select
*
from
t1
;
rollback
;
--
replace_column
5
#
--
replace_column
2
#
5 #
--
replace_regex
/
table_id
:
[
0
-
9
]
+/
table_id
:
#/ /\/\* xid=.* \*\//\/* xid= *\//
show
binlog
events
from
102
;
...
...
@@ -178,7 +178,7 @@ insert into t2 select * from t1;
rollback
to
savepoint
my_savepoint
;
commit
;
--
replace_column
5
#
--
replace_column
2
#
5 #
--
replace_regex
/
table_id
:
[
0
-
9
]
+/
table_id
:
#/ /\/\* xid=.* \*\//\/* xid= *\//
show
binlog
events
from
102
;
...
...
@@ -196,7 +196,7 @@ insert into t1 values(18);
commit
;
select
a
from
t1
order
by
a
;
# check that savepoints work :)
--
replace_column
5
#
--
replace_column
2
#
5 #
--
replace_regex
/
table_id
:
[
0
-
9
]
+/
table_id
:
#/ /\/\* xid=.* \*\//\/* xid= *\//
show
binlog
events
from
102
;
...
...
@@ -257,7 +257,7 @@ insert into t2 values (3);
disconnect
con2
;
connection
con3
;
select
get_lock
(
"lock1"
,
60
);
--
replace_column
5
#
--
replace_column
2
#
5 #
--
replace_regex
/
table_id
:
[
0
-
9
]
+/
table_id
:
#/ /\/\* xid=.* \*\//\/* xid= *\//
show
binlog
events
from
102
;
do
release_lock
(
"lock1"
);
...
...
@@ -324,6 +324,7 @@ CREATE TEMPORARY TABLE IF NOT EXISTS t2 (primary key (a)) engine=innodb select *
ROLLBACK
;
SELECT
*
from
t2
;
DROP
TABLE
t1
,
t2
;
--
replace_column
2
# 5 #
--
replace_regex
/
table_id
:
[
0
-
9
]
+/
table_id
:
#/ /\/\* xid=.* \*\//\/* xid= *\//
show
binlog
events
from
102
;
...
...
mysql-test/r/binlog_row_mix_innodb_myisam.result
View file @
b3977379
This diff is collapsed.
Click to expand it.
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