1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-30 05:23:50 +03:00

Add deadlock exception. Addresses #215.

git-svn-id: file:///svn/tokudb@1310 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
Bradley C. Kuszmaul
2007-12-21 10:23:56 +00:00
parent 4c90d3a8d0
commit 95ba9175ef
3 changed files with 50 additions and 23 deletions

View File

@@ -41,3 +41,9 @@ void DbException::set_env(DbEnv *new_env)
{
the_env = new_env;
}
DbDeadlockException::DbDeadlockException (DbEnv *env)
: DbException(DB_LOCK_DEADLOCK)
{
this->set_env(env);
}