Commit 53ffb796 authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

[t:2332], make ha_tokudb changes so that when disk is full, error message sent to console

git-svn-id: file:///svn/mysql/tokudb-engine/src@17257 c7de825b-a66e-492c-adef-691d508d4ae1
parent ffb77f8d
...@@ -6356,6 +6356,9 @@ void ha_tokudb::print_error(int error, myf errflag) { ...@@ -6356,6 +6356,9 @@ void ha_tokudb::print_error(int error, myf errflag) {
error = HA_ERR_LOCK_DEADLOCK; error = HA_ERR_LOCK_DEADLOCK;
if (error == DB_LOCK_NOTGRANTED) if (error == DB_LOCK_NOTGRANTED)
error = HA_ERR_LOCK_WAIT_TIMEOUT; error = HA_ERR_LOCK_WAIT_TIMEOUT;
if (error == ENOSPC) {
error = HA_ERR_DISK_FULL;
}
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