mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 21:42:35 +01:00
[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:
parent
113906b064
commit
3b3b811946
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue