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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
acc7614a
Commit
acc7614a
authored
Jun 12, 2007
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk@192.168.21.1:mysql-5.1-opt
into mysql.com:/home/hf/work/28757/my51-28757
parents
023f3dd0
0a67a6e5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
12 deletions
+12
-12
mysql-test/include/unsafe_binlog.inc
mysql-test/include/unsafe_binlog.inc
+11
-11
mysql-test/r/unsafe_binlog_innodb.result
mysql-test/r/unsafe_binlog_innodb.result
+1
-1
No files found.
mysql-test/include/unsafe_binlog.inc
View file @
acc7614a
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
#
#
--
disable_warnings
--
disable_warnings
drop
table
if
exists
t1
,
t2
;
drop
table
if
exists
t1
,
t2
,
t3
,
t4
,
t5
,
t6
,
t7
,
t8
,
t9
,
t10
;
--
enable_warnings
--
enable_warnings
eval
create
table
t1
(
id
int
not
null
,
f_id
int
not
null
,
f
int
not
null
,
eval
create
table
t1
(
id
int
not
null
,
f_id
int
not
null
,
f
int
not
null
,
primary
key
(
f_id
,
id
))
engine
=
$engine_type
;
primary
key
(
f_id
,
id
))
engine
=
$engine_type
;
...
@@ -59,7 +59,7 @@ set autocommit = 0;
...
@@ -59,7 +59,7 @@ set autocommit = 0;
#
#
# S-lock to records (2,2),(4,2), and (6,2) should not be released in a update
# S-lock to records (2,2),(4,2), and (6,2) should not be released in a update
#
#
--
error
1205
--
error
ER_LOCK_WAIT_TIMEOUT
select
*
from
t1
where
a
=
2
and
b
=
2
for
update
;
select
*
from
t1
where
a
=
2
and
b
=
2
for
update
;
connection
a
;
connection
a
;
commit
;
commit
;
...
@@ -213,39 +213,39 @@ set autocommit = 0;
...
@@ -213,39 +213,39 @@ set autocommit = 0;
create
table
t10
(
a
int
not
null
,
b
int
,
primary
key
(
a
))
select
*
from
t2
for
update
;
create
table
t10
(
a
int
not
null
,
b
int
,
primary
key
(
a
))
select
*
from
t2
for
update
;
connection
b
;
connection
b
;
--
error
1205
--
error
ER_LOCK_WAIT_TIMEOUT
reap
;
reap
;
connection
c
;
connection
c
;
--
error
1205
--
error
ER_LOCK_WAIT_TIMEOUT
reap
;
reap
;
connection
d
;
connection
d
;
--
error
1205
--
error
ER_LOCK_WAIT_TIMEOUT
reap
;
reap
;
connection
e
;
connection
e
;
--
error
1205
--
error
ER_LOCK_WAIT_TIMEOUT
reap
;
reap
;
connection
f
;
connection
f
;
--
error
1205
--
error
ER_LOCK_WAIT_TIMEOUT
reap
;
reap
;
connection
g
;
connection
g
;
--
error
1205
--
error
ER_LOCK_WAIT_TIMEOUT
reap
;
reap
;
connection
h
;
connection
h
;
--
error
1205
--
error
ER_LOCK_WAIT_TIMEOUT
reap
;
reap
;
connection
i
;
connection
i
;
--
error
1205
--
error
ER_LOCK_WAIT_TIMEOUT
reap
;
reap
;
connection
j
;
connection
j
;
--
error
1205
--
error
ER_LOCK_WAIT_TIMEOUT
reap
;
reap
;
connection
a
;
connection
a
;
...
...
mysql-test/r/unsafe_binlog_innodb.result
View file @
acc7614a
drop table if exists t1,t2;
drop table if exists t1,t2
,t3,t4,t5,t6,t7,t8,t9,t10
;
create table t1 (id int not null, f_id int not null, f int not null,
create table t1 (id int not null, f_id int not null, f int not null,
primary key(f_id, id)) engine = InnoDB;
primary key(f_id, id)) engine = InnoDB;
create table t2 (id int not null,s_id int not null,s varchar(200),
create table t2 (id int not null,s_id int not null,s varchar(200),
...
...
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