Skip to content

Commit

Permalink
Fix locking bug
Browse files Browse the repository at this point in the history
Summary:
see title

Squash with 8194409 Per Database Read-Only

Test Plan: mtr

Reviewers: tianx

Reviewed By: tianx

Subscribers: webscalesql-eng

Differential Revision: https://reviews.facebook.net/D54741
  • Loading branch information
santoshbanda committed Feb 25, 2016
1 parent 70d9a6d commit c971129
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sql/handler.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1475,8 +1475,8 @@ int ha_commit_trans(THD *thd, bool all, bool async,
thd->variables.lock_wait_timeout))
{
ha_rollback_trans(thd, all);
thd->enter_stage(&old_stage, NULL, __func__, __FILE__, __LINE__);
DBUG_RETURN(1);
error= 1;
goto end;
}
release_mdl= true;

Expand Down

0 comments on commit c971129

Please sign in to comment.