diff options
author | igor@olga.mysql.com <> | 2007-06-30 20:49:28 -0700 |
---|---|---|
committer | igor@olga.mysql.com <> | 2007-06-30 20:49:28 -0700 |
commit | 259fdbf9ca330d6242cff277bc14871b16aeabb2 (patch) | |
tree | ed6bbc6971d75074b67617c9c71dbae1f71a8996 /strings | |
parent | fdf2d7c24fa5dfb2c0603ae19782bc306b720ae9 (diff) | |
parent | 38deea24964e1acf0920f8dee1a4442531d3ed80 (diff) | |
download | mariadb-git-259fdbf9ca330d6242cff277bc14871b16aeabb2.tar.gz |
Merge olga.mysql.com:/home/igor/mysql-5.0-opt
into olga.mysql.com:/home/igor/dev-opt/mysql-5.1-opt
Diffstat (limited to 'strings')
-rw-r--r-- | strings/ctype-simple.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/strings/ctype-simple.c b/strings/ctype-simple.c index 99e41611eaa..9a80b932d20 100644 --- a/strings/ctype-simple.c +++ b/strings/ctype-simple.c @@ -186,7 +186,7 @@ int my_strnncollsp_simple(CHARSET_INFO * cs, const uchar *a, size_t a_length, for (end= a + a_length-length; a < end ; a++) { if (*a != ' ') - return (*a < ' ') ? -swap : swap; + return (map[*a] < ' ') ? -swap : swap; } } return res; |