mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 11:01:52 +01:00
Merge mysql.com:/home/emurphy/src/mysql/bk-clean/mysql-4.1
into mysql.com:/home/emurphy/src/mysql/bk-clean/mysql-5.0
This commit is contained in:
commit
a37fa18a69
1 changed files with 7 additions and 0 deletions
|
@ -513,6 +513,13 @@ convert_error_code_to_mysql(
|
|||
|
||||
return(HA_ERR_NO_SAVEPOINT);
|
||||
} else if (error == (int) DB_LOCK_TABLE_FULL) {
|
||||
/* Since we rolled back the whole transaction, we must
|
||||
tell it also to MySQL so that MySQL knows to empty the
|
||||
cached binlog for this transaction */
|
||||
|
||||
if (thd) {
|
||||
ha_rollback(thd);
|
||||
}
|
||||
|
||||
return(HA_ERR_LOCK_TABLE_FULL);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue