diff options
author | unknown <heikki@hundin.mysql.fi> | 2003-05-07 19:13:56 +0300 |
---|---|---|
committer | unknown <heikki@hundin.mysql.fi> | 2003-05-07 19:13:56 +0300 |
commit | fb17658eb218a1b0a0965fd1acd0a8ec6a58a709 (patch) | |
tree | fbd5e50bb198c5a71598256731e6931770992541 /include/my_base.h | |
parent | 0299df4b4f7d62197b0e490d65b94a47661cdeef (diff) | |
download | mariadb-git-fb17658eb218a1b0a0965fd1acd0a8ec6a58a709.tar.gz |
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
Diffstat (limited to 'include/my_base.h')
-rw-r--r-- | include/my_base.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/my_base.h b/include/my_base.h index f91b45ee469..cd04ab971db 100644 --- a/include/my_base.h +++ b/include/my_base.h @@ -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 */ |