mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Improve error messages from Aria
- Error on commit now returns HA_ERR_COMMIT_ERROR instead of HA_ERR_INTERNAL_ERROR - If checkpoint fails, it will now print out where it failed.
This commit is contained in:
@ -4217,6 +4217,9 @@ void handler::print_error(int error, myf errflag)
|
||||
case HA_ERR_TABLE_IN_FK_CHECK:
|
||||
textno= ER_TABLE_IN_FK_CHECK;
|
||||
break;
|
||||
case HA_ERR_COMMIT_ERROR:
|
||||
textno= ER_ERROR_DURING_COMMIT;
|
||||
break;
|
||||
default:
|
||||
{
|
||||
/* The error was "unknown" to this function.
|
||||
|
Reference in New Issue
Block a user