diff options
author | unknown <igor@olga.mysql.com> | 2007-07-13 19:05:30 -0700 |
---|---|---|
committer | unknown <igor@olga.mysql.com> | 2007-07-13 19:05:30 -0700 |
commit | 8c56d8e89ce04745e21a0aac8e2f7dd704b83a19 (patch) | |
tree | 10fb10faaeac7b7677d02d00ed8eabf38fd6dc42 /strings | |
parent | b15bd3086e6385f7d057d5db4766844734dcf30f (diff) | |
parent | 85603b2e0b6b51c57de7019f451461e676c458de (diff) | |
download | mariadb-git-8c56d8e89ce04745e21a0aac8e2f7dd704b83a19.tar.gz |
Merge olga.mysql.com:/home/igor/mysql-5.0-rpl
into olga.mysql.com:/home/igor/dev-opt/mysql-5.0-opt-merge
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 fca5607e152..8b1b0d6790d 100644 --- a/strings/ctype-simple.c +++ b/strings/ctype-simple.c @@ -179,7 +179,7 @@ int my_strnncollsp_simple(CHARSET_INFO * cs, const uchar *a, uint a_length, } for (end= a + a_length-length; a < end ; a++) { - if (*a != ' ') + if (map[*a] != ' ') return (map[*a] < ' ') ? -swap : swap; } } |