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
ab6feabb
Commit
ab6feabb
authored
Feb 20, 2010
by
Tatiana A. Nurnberg
Browse files
Options
Browse Files
Download
Plain Diff
auto-merge
parents
ecf4ba96
13d7179a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
8 deletions
+20
-8
mysql-test/include/not_binlog_format_row.inc
mysql-test/include/not_binlog_format_row.inc
+4
-0
mysql-test/lib/My/ConfigFactory.pm
mysql-test/lib/My/ConfigFactory.pm
+7
-4
mysql-test/r/bug39022.result
mysql-test/r/bug39022.result
+1
-1
mysql-test/t/bug39022.test
mysql-test/t/bug39022.test
+8
-3
No files found.
mysql-test/include/not_binlog_format_row.inc
0 → 100644
View file @
ab6feabb
if
(
`SELECT @@binlog_format = 'ROW'`
)
{
skip
Test
cannot
run
with
binlog_format
row
;
}
mysql-test/lib/My/ConfigFactory.pm
View file @
ab6feabb
...
@@ -357,11 +357,14 @@ sub post_check_client_group {
...
@@ -357,11 +357,14 @@ sub post_check_client_group {
if
(
IS_WINDOWS
)
if
(
IS_WINDOWS
)
{
{
# Shared memory base may or may not be defined (e.g not defined in embedded)
if
(
!
$self
->
{
ARGS
}
->
{
embedded
})
my
$shm
=
$group_to_copy_from
->
option
("
shared-memory-base-name
");
if
(
defined
$shm
)
{
{
$config
->
insert
(
$client_group_name
,"
shared-memory-base-name
",
$shm
->
value
());
# Shared memory base may or may not be defined (e.g not defined in embedded)
my
$shm
=
$group_to_copy_from
->
option
("
shared-memory-base-name
");
if
(
defined
$shm
)
{
$config
->
insert
(
$client_group_name
,"
shared-memory-base-name
",
$shm
->
value
());
}
}
}
}
}
}
}
...
...
mysql-test/r/bug39022.result
View file @
ab6feabb
...
@@ -28,5 +28,5 @@ SELECT d FROM t2,t1 WHERE d=(SELECT MAX(a) FROM t1 WHERE t1.a > t2.d);
...
@@ -28,5 +28,5 @@ SELECT d FROM t2,t1 WHERE d=(SELECT MAX(a) FROM t1 WHERE t1.a > t2.d);
ERROR 40001: Deadlock found when trying to get lock; try restarting transaction
ERROR 40001: Deadlock found when trying to get lock; try restarting transaction
# in thread2
# in thread2
d
d
# in
default
# in
thread1;
DROP TABLE t1,t2;
DROP TABLE t1,t2;
mysql-test/t/bug39022.test
View file @
ab6feabb
--
source
include
/
have_log_bin
.
inc
--
source
include
/
have_log_bin
.
inc
--
source
include
/
have_innodb
.
inc
--
source
include
/
have_innodb
.
inc
--
source
include
/
not_binlog_format_row
.
inc
--
echo
#
--
echo
#
--
echo
# Bug #39022: Mysql randomly crashing in lock_sec_rec_cons_read_sees
--
echo
# Bug #39022: Mysql randomly crashing in lock_sec_rec_cons_read_sees
...
@@ -49,10 +50,14 @@ connection thread2;
...
@@ -49,10 +50,14 @@ connection thread2;
--
echo
# in thread2
--
echo
# in thread2
REAP
;
REAP
;
connection
default
;
disconnect
thread2
;
--
echo
# in default
--
source
include
/
wait_until_disconnected
.
inc
connection
thread1
;
--
echo
# in thread1;
disconnect
thread1
;
disconnect
thread1
;
disconnect
thread2
;
--
source
include
/
wait_until_disconnected
.
inc
connection
default
;
DROP
TABLE
t1
,
t2
;
DROP
TABLE
t1
,
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