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
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
Show 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
...
...
@@ -356,6 +356,8 @@ sub post_check_client_group {
}
if
(
IS_WINDOWS
)
{
if
(
!
$self
->
{
ARGS
}
->
{
embedded
})
{
# 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
");
...
...
@@ -364,6 +366,7 @@ sub post_check_client_group {
$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);
ERROR 40001: Deadlock found when trying to get lock; try restarting transaction
# in thread2
d
# in
default
# in
thread1;
DROP TABLE t1,t2;
mysql-test/t/bug39022.test
View file @
ab6feabb
--
source
include
/
have_log_bin
.
inc
--
source
include
/
have_innodb
.
inc
--
source
include
/
not_binlog_format_row
.
inc
--
echo
#
--
echo
# Bug #39022: Mysql randomly crashing in lock_sec_rec_cons_read_sees
...
...
@@ -49,10 +50,14 @@ connection thread2;
--
echo
# in thread2
REAP
;
connection
default
;
--
echo
# in default
disconnect
thread2
;
--
source
include
/
wait_until_disconnected
.
inc
connection
thread1
;
--
echo
# in thread1;
disconnect
thread1
;
disconnect
thread2
;
--
source
include
/
wait_until_disconnected
.
inc
connection
default
;
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