[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
This commit is contained in:
Zardosht Kasheff 2013-04-17 00:01:56 -04:00 committed by Yoni Fogel
parent 113906b064
commit 3b3b811946

View file

@ -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);
} }