summaryrefslogtreecommitdiff
path: root/include/my_base.h
diff options
context:
space:
mode:
authorunknown <holyfoot@deer.(none)>2005-12-15 16:20:56 +0400
committerunknown <holyfoot@deer.(none)>2005-12-15 16:20:56 +0400
commita3cc718cc4d068f3104e15ecbc350dad6f958db5 (patch)
tree781d8529af90da18115fb0a92cb5ea0f38f6dc72 /include/my_base.h
parent1b74cbd9d6817c0210904e0b324acbe61554e094 (diff)
downloadmariadb-git-a3cc718cc4d068f3104e15ecbc350dad6f958db5.tar.gz
bug #15524 (partitioning range/list violation error message is insufficient)
include/my_base.h: HA_ERR_NO_PARTITION_FOUND added mysql-test/r/partition_error.result: test result fixed mysql-test/t/partition_error.test: test case added sql/ha_partition.cc: now we launch the informative error message here sql/share/errmsg.txt: Error message added
Diffstat (limited to 'include/my_base.h')
-rw-r--r--include/my_base.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/my_base.h b/include/my_base.h
index c688591e1d5..5ea3795f715 100644
--- a/include/my_base.h
+++ b/include/my_base.h
@@ -343,8 +343,9 @@ enum ha_base_keytype {
#define HA_ERR_NO_CONNECTION 157 /* Could not connect to storage engine */
#define HA_ERR_NULL_IN_SPATIAL 158 /* NULLs are not supported in spatial index */
#define HA_ERR_TABLE_DEF_CHANGED 159 /* The table changed in storage engine */
+#define HA_ERR_NO_PARTITION_FOUND 160 /* There's no partition in table for given value */
-#define HA_ERR_LAST 159 /*Copy last error nr.*/
+#define HA_ERR_LAST 160 /*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)