summaryrefslogtreecommitdiff
path: root/include/m_ctype.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2015-08-28 17:03:09 +0400
committerAlexander Barkov <bar@mariadb.org>2015-08-28 17:03:09 +0400
commit3ba2a958beaf8ce5b4db23739b310ebad606d993 (patch)
tree05e015a000e10fc9b755cbe37238dd01be2b5742 /include/m_ctype.h
parent3bca8db4f90cd9a505b99009c44594c0fb1ec353 (diff)
downloadmariadb-git-3ba2a958beaf8ce5b4db23739b310ebad606d993.tar.gz
MDEV-8694 Wrong result for SELECT..WHERE a NOT LIKE 'a ' AND a='a'
Note, the patch for MDEV-8661 unintentionally fixed MDEV-8694 as well, as a side effect. Adding a real clear fix: implementing Item_func_like::propagate_equal_fields() with comments.
Diffstat (limited to 'include/m_ctype.h')
-rw-r--r--include/m_ctype.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/m_ctype.h b/include/m_ctype.h
index c5be24bb063..a55222682b0 100644
--- a/include/m_ctype.h
+++ b/include/m_ctype.h
@@ -201,6 +201,10 @@ extern MY_UNI_CTYPE my_uni_ctype[256];
#define MY_CS_UNICODE_SUPPLEMENT 16384 /* Non-BMP Unicode characters */
#define MY_CS_LOWER_SORT 32768 /* If use lower case as weight */
#define MY_CS_STRNXFRM_BAD_NWEIGHTS 0x10000 /* strnxfrm ignores "nweights" */
+#define MY_CS_NOPAD 0x20000 /* if does not ignore trailing spaces */
+#define MY_CS_NON1TO1 0x40000 /* Has a complex mapping from characters
+ to weights, e.g. contractions, expansions,
+ ignorable characters */
#define MY_CHARSET_UNDEFINED 0
/* Character repertoire flags */