mirror of
https://github.com/MariaDB/server.git
synced 2025-01-15 19:42:28 +01:00
my_base.h:
Fix bug: if MIN() or MAX() resulted in a deadlock or a lock wait timeout, MySQL did not return an error, but NULL as the function value include/my_base.h: Fix bug: if MIN() or MAX() resulted in a deadlock or a lock wait timeout, MySQL did not return an error, but NULL as the function value
This commit is contained in:
parent
0299df4b4f
commit
fb17658eb2
1 changed files with 1 additions and 0 deletions
|
@ -224,6 +224,7 @@ enum ha_base_keytype {
|
|||
|
||||
/* Errorcodes given by functions */
|
||||
|
||||
/* opt_sum_query() assumes these codes are > 1 */
|
||||
#define HA_ERR_KEY_NOT_FOUND 120 /* Didn't find key on read or update */
|
||||
#define HA_ERR_FOUND_DUPP_KEY 121 /* Dupplicate key on write */
|
||||
#define HA_ERR_RECORD_CHANGED 123 /* Uppdate with is recoverable */
|
||||
|
|
Loading…
Reference in a new issue