summaryrefslogtreecommitdiff
path: root/include/my_base.h
diff options
context:
space:
mode:
authorunknown <mats@kindahl-laptop.dnsalias.net>2007-06-21 14:02:46 +0200
committerunknown <mats@kindahl-laptop.dnsalias.net>2007-06-21 14:02:46 +0200
commitced7685766b4b49d0f4a033617a8a990679eda8b (patch)
treed2817b9e430f528608203bd3a0c3def2b4ce194f /include/my_base.h
parentcdc0a6d831577494c8e11cd255a4e52f7c48b62c (diff)
downloadmariadb-git-ced7685766b4b49d0f4a033617a8a990679eda8b.tar.gz
BUG#23051 (READ COMMITTED breaks mixed and statement-based replication):
Moving error generating code from table_flags() to external_lock(). include/my_base.h: Adding handler error code HA_ERR_LOGGING_IMPOSSIBLE storage/innobase/handler/ha_innodb.cc: Moving error generating code from table_flags() to external_lock().
Diffstat (limited to 'include/my_base.h')
-rw-r--r--include/my_base.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/my_base.h b/include/my_base.h
index 617cdb8c3f0..f8830dc8a25 100644
--- a/include/my_base.h
+++ b/include/my_base.h
@@ -396,7 +396,9 @@ enum ha_base_keytype {
#define HA_ERR_AUTOINC_READ_FAILED 166 /* Failed to get next autoinc value */
#define HA_ERR_AUTOINC_ERANGE 167 /* Failed to set row autoinc value */
#define HA_ERR_GENERIC 168 /* Generic error */
-#define HA_ERR_LAST 168 /*Copy last error nr.*/
+#define HA_ERR_LOGGING_IMPOSSIBLE 169 /* It is not possible to log this
+ statement */
+#define HA_ERR_LAST 169 /*Copy last error nr.*/
/* Add error numbers before HA_ERR_LAST and change it accordingly. */
#define HA_ERR_ERRORS (HA_ERR_LAST - HA_ERR_FIRST + 1)