mirror of
https://github.com/MariaDB/server.git
synced 2025-01-24 15:54:37 +01:00
branches/5.1: merge change from 5.1.38
HA_ERR_TOO_MANY_CONCURRENT_TRXS is added in 5.1.38.
This commit is contained in:
parent
db933d00cf
commit
180ed3e47f
1 changed files with 1 additions and 11 deletions
|
@ -734,17 +734,7 @@ convert_error_code_to_mysql(
|
|||
return(HA_ERR_LOCK_TABLE_FULL);
|
||||
} else if (error == DB_TOO_MANY_CONCURRENT_TRXS) {
|
||||
|
||||
/* Once MySQL add the appropriate code to errmsg.txt then
|
||||
we can get rid of this #ifdef. NOTE: The code checked by
|
||||
the #ifdef is the suggested name for the error condition
|
||||
and the actual error code name could very well be different.
|
||||
This will require some monitoring, ie. the status
|
||||
of this request on our part.*/
|
||||
#ifdef ER_TOO_MANY_CONCURRENT_TRXS
|
||||
return(ER_TOO_MANY_CONCURRENT_TRXS);
|
||||
#else
|
||||
return(HA_ERR_RECORD_FILE_FULL);
|
||||
#endif
|
||||
return(HA_ERR_TOO_MANY_CONCURRENT_TRXS);
|
||||
|
||||
} else if (error == DB_UNSUPPORTED) {
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue