diff options
author | unknown <aivanov@mysql.com> | 2006-02-09 20:43:10 +0300 |
---|---|---|
committer | unknown <aivanov@mysql.com> | 2006-02-09 20:43:10 +0300 |
commit | 463ac89d01e952d63e71cab22c94be399b05c230 (patch) | |
tree | 5f9de9e0a158a0f3deba363bd65856bbd3e8113d /include/my_base.h | |
parent | 4f9e66daa409df056475d28fbed853feaacd2525 (diff) | |
download | mariadb-git-463ac89d01e952d63e71cab22c94be399b05c230.tar.gz |
Fixed BUG#9680: Wrong error from cascading update
Applied 9680.patch (by Osku Salerma)
Diffstat (limited to 'include/my_base.h')
-rw-r--r-- | include/my_base.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/my_base.h b/include/my_base.h index 168625f4a87..564cd833185 100644 --- a/include/my_base.h +++ b/include/my_base.h @@ -367,8 +367,11 @@ enum ha_base_keytype { given value */ #define HA_ERR_RBR_LOGGING_FAILED 161 /* Row-based binlogging of row failed */ #define HA_ERR_DROP_INDEX_FK 162 /* Index needed in foreign key constr. */ +#define HA_ERR_FOREIGN_DUPLICATE_KEY 163 /* Upholding foreign key constraints + would lead to a duplicate key + error in some other table. */ -#define HA_ERR_LAST 162 /* Copy last error no */ +#define HA_ERR_LAST 163 /* Copy last error no */ /* Add error numbers before HA_ERR_LAST and change it accordingly. */ #define HA_ERR_ERRORS (HA_ERR_LAST - HA_ERR_FIRST + 1) |