diff options
author | sasha@asksasha.com <> | 2005-11-07 15:09:35 -0700 |
---|---|---|
committer | sasha@asksasha.com <> | 2005-11-07 15:09:35 -0700 |
commit | 41752fa9a0d263aa7f26c6bdb588267ea4678b5f (patch) | |
tree | 9ee433774ea429e2c7c63fe94ea98e0693c022b5 /sql/item_func.cc | |
parent | b919b29da6755b9d3b8e98600287315a806964c8 (diff) | |
download | mariadb-git-41752fa9a0d263aa7f26c6bdb588267ea4678b5f.tar.gz |
fix for BUG#7947 - failure to log DO RELEASE_LOCK() if we disconnect in the middle of
transaction while holding the lock. Also test to make sure other binlogging issues
reported in the bug have been addressed.
Diffstat (limited to 'sql/item_func.cc')
-rw-r--r-- | sql/item_func.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_func.cc b/sql/item_func.cc index aff4adb788a..d80eed4754a 100644 --- a/sql/item_func.cc +++ b/sql/item_func.cc @@ -1975,7 +1975,7 @@ void item_user_lock_release(User_level_lock *ull) tmp.copy(command, strlen(command), tmp.charset()); tmp.append(ull->key,ull->key_length); tmp.append("\")", 2); - Query_log_event qev(current_thd, tmp.ptr(), tmp.length(),1, FALSE); + Query_log_event qev(current_thd, tmp.ptr(), tmp.length(),0, FALSE); qev.error_code=0; // this query is always safe to run on slave mysql_bin_log.write(&qev); } |