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
b461810d
Commit
b461810d
authored
Jan 16, 2007
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update xid's as an effect of not closing the prepared statements all the time
parent
adff49d9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
mysql-test/t/mix_innodb_myisam_binlog.test
mysql-test/t/mix_innodb_myisam_binlog.test
+10
-10
No files found.
mysql-test/t/mix_innodb_myisam_binlog.test
View file @
b461810d
...
...
@@ -29,7 +29,7 @@ insert into t2 select * from t1;
commit
;
--
replace_column
5
#
--
replace_result
"xid=1
5
"
"xid=8"
--
replace_result
"xid=1
4
"
"xid=8"
show
binlog
events
from
98
;
delete
from
t1
;
...
...
@@ -58,7 +58,7 @@ rollback to savepoint my_savepoint;
commit
;
--
replace_column
5
#
--
replace_result
"xid=4
8
"
"xid=25"
--
replace_result
"xid=4
7
"
"xid=25"
show
binlog
events
from
98
;
delete
from
t1
;
...
...
@@ -76,7 +76,7 @@ commit;
select
a
from
t1
order
by
a
;
# check that savepoints work :)
--
replace_column
5
#
--
replace_result
"xid=
70
"
"xid=37"
--
replace_result
"xid=
69
"
"xid=37"
show
binlog
events
from
98
;
# and when ROLLBACK is not explicit?
...
...
@@ -109,7 +109,7 @@ insert into t1 values(9);
insert
into
t2
select
*
from
t1
;
--
replace_column
5
#
--
replace_result
"xid=11
9
"
"xid=60"
--
replace_result
"xid=11
7
"
"xid=60"
show
binlog
events
from
98
;
# Check that when the query updat1ng the MyISAM table is the first in the
...
...
@@ -122,13 +122,13 @@ insert into t1 values(10); # first make t1 non-empty
begin
;
insert
into
t2
select
*
from
t1
;
--
replace_column
5
#
--
replace_result
"xid=13
3
"
"xid=66"
--
replace_result
"xid=13
1
"
"xid=66"
show
binlog
events
from
98
;
insert
into
t1
values
(
11
);
commit
;
--
replace_column
5
#
--
replace_result
"xid=13
3"
"xid=66"
"xid=136
"
"xid=68"
--
replace_result
"xid=13
1"
"xid=66"
"xid=134
"
"xid=68"
show
binlog
events
from
98
;
...
...
@@ -147,7 +147,7 @@ insert into t2 select * from t1;
commit
;
--
replace_column
5
#
--
replace_result
"xid=15
5
"
"xid=78"
--
replace_result
"xid=15
3
"
"xid=78"
show
binlog
events
from
98
;
delete
from
t1
;
...
...
@@ -175,7 +175,7 @@ rollback to savepoint my_savepoint;
commit
;
--
replace_column
5
#
--
replace_result
"xid=18
7
"
"xid=94"
--
replace_result
"xid=18
5
"
"xid=94"
show
binlog
events
from
98
;
delete
from
t1
;
...
...
@@ -193,7 +193,7 @@ commit;
select
a
from
t1
order
by
a
;
# check that savepoints work :)
--
replace_column
5
#
--
replace_result
"xid=20
8
"
"xid=105"
--
replace_result
"xid=20
6
"
"xid=105"
show
binlog
events
from
98
;
# Test for BUG#5714, where a MyISAM update in the transaction used to
...
...
@@ -254,7 +254,7 @@ disconnect con2;
connection
con3
;
select
get_lock
(
"lock1"
,
60
);
--
replace_column
5
#
--
replace_result
"xid=20
8"
"xid=105"
"xid=227"
"xid=114"
"xid=230"
"xid=115"
"xid=234"
"xid=117"
"xid=261
"
"xid=132"
--
replace_result
"xid=20
6"
"xid=105"
"xid=224"
"xid=114"
"xid=227"
"xid=115"
"xid=231"
"xid=117"
"xid=258
"
"xid=132"
show
binlog
events
from
98
;
do
release_lock
(
"lock1"
);
drop
table
t0
,
t2
;
...
...
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