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
2c56142b
Commit
2c56142b
authored
Feb 22, 2016
by
Nirbhay Choubey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refs codership/mysql-wsrep#184
Merge fix to XtraDB engine.
parent
1d216768
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
storage/xtradb/lock/lock0wait.cc
storage/xtradb/lock/lock0wait.cc
+2
-1
No files found.
storage/xtradb/lock/lock0wait.cc
View file @
2c56142b
...
@@ -394,7 +394,8 @@ lock_wait_suspend_thread(
...
@@ -394,7 +394,8 @@ lock_wait_suspend_thread(
if
(
lock_wait_timeout
<
100000000
if
(
lock_wait_timeout
<
100000000
&&
wait_time
>
(
double
)
lock_wait_timeout
)
{
&&
wait_time
>
(
double
)
lock_wait_timeout
)
{
#ifdef WITH_WSREP
#ifdef WITH_WSREP
if
(
!
wsrep_is_BF_lock_timeout
(
trx
))
{
if
(
!
wsrep_is_BF_lock_timeout
(
trx
)
&&
trx
->
error_state
!=
DB_DEADLOCK
)
{
#endif
/* WITH_WSREP */
#endif
/* WITH_WSREP */
trx
->
error_state
=
DB_LOCK_WAIT_TIMEOUT
;
trx
->
error_state
=
DB_LOCK_WAIT_TIMEOUT
;
...
...
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