Commit 0f527440 authored by Vincenzo Liberatore's avatar Vincenzo Liberatore Committed by Yoni Fogel

Addresses #628 See mysql/doc/deadlock.txt and change history in this ticket for further comments

git-svn-id: file:///svn/mysql/tokudb-engine/src@3243 c7de825b-a66e-492c-adef-691d508d4ae1
parent afb13965
...@@ -2501,7 +2501,7 @@ void ha_tokudb::print_error(int error, myf errflag) { ...@@ -2501,7 +2501,7 @@ void ha_tokudb::print_error(int error, myf errflag) {
if (error == DB_LOCK_DEADLOCK) if (error == DB_LOCK_DEADLOCK)
error = HA_ERR_LOCK_DEADLOCK; error = HA_ERR_LOCK_DEADLOCK;
if (error == DB_LOCK_NOTGRANTED) if (error == DB_LOCK_NOTGRANTED)
error = ER_CANT_LOCK; error = HA_ERR_LOCK_WAIT_TIMEOUT;
handler::print_error(error, errflag); handler::print_error(error, errflag);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment