summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/my_base.h5
-rw-r--r--include/my_handler_errors.h1
2 files changed, 4 insertions, 2 deletions
diff --git a/include/my_base.h b/include/my_base.h
index dab357f45a4..7016766ce58 100644
--- a/include/my_base.h
+++ b/include/my_base.h
@@ -521,8 +521,9 @@ enum ha_base_keytype {
#define HA_ERR_TABLESPACE_MISSING 194 /* Missing Tablespace */
#define HA_ERR_SEQUENCE_INVALID_DATA 195
#define HA_ERR_SEQUENCE_RUN_OUT 196
-#define HA_ERR_PARTITION_LIST 197
-#define HA_ERR_LAST 197 /* Copy of last error nr * */
+#define HA_ERR_COMMIT_ERROR 197
+#define HA_ERR_PARTITION_LIST 198
+#define HA_ERR_LAST 198 /* Copy of last error nr * */
/* Number of different errors */
#define HA_ERR_ERRORS (HA_ERR_LAST - HA_ERR_FIRST + 1)
diff --git a/include/my_handler_errors.h b/include/my_handler_errors.h
index 946e615aa79..4c3a02dd745 100644
--- a/include/my_handler_errors.h
+++ b/include/my_handler_errors.h
@@ -108,6 +108,7 @@ static const char *handler_error_messages[]=
"Tablespace is missing for a table",
"Sequence has been run out",
"Sequence values are conflicting",
+ "Error during commit",
"Cannot select partitions"
};