diff options
author | Alexander Barkov <bar@mariadb.org> | 2015-08-28 17:03:09 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.org> | 2015-08-28 17:03:09 +0400 |
commit | 3ba2a958beaf8ce5b4db23739b310ebad606d993 (patch) | |
tree | 05e015a000e10fc9b755cbe37238dd01be2b5742 /strings/ctype-bin.c | |
parent | 3bca8db4f90cd9a505b99009c44594c0fb1ec353 (diff) | |
download | mariadb-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 'strings/ctype-bin.c')
-rw-r--r-- | strings/ctype-bin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/strings/ctype-bin.c b/strings/ctype-bin.c index 4d42973f69f..0be6ae95577 100644 --- a/strings/ctype-bin.c +++ b/strings/ctype-bin.c @@ -557,7 +557,7 @@ static MY_CHARSET_HANDLER my_charset_handler= struct charset_info_st my_charset_bin = { 63,0,0, /* number */ - MY_CS_COMPILED|MY_CS_BINSORT|MY_CS_PRIMARY,/* state */ + MY_CS_COMPILED|MY_CS_BINSORT|MY_CS_PRIMARY|MY_CS_NOPAD,/* state */ "binary", /* cs name */ "binary", /* name */ "", /* comment */ |