diff options
author | igor@olga.mysql.com <> | 2007-07-13 19:05:30 -0700 |
---|---|---|
committer | igor@olga.mysql.com <> | 2007-07-13 19:05:30 -0700 |
commit | d40c4aaa679ad44626ba671a847a0671d68ae412 (patch) | |
tree | 10fb10faaeac7b7677d02d00ed8eabf38fd6dc42 /strings | |
parent | 84eb79856eee2430594d691ec2ac10c7e9c4c119 (diff) | |
parent | 92b65b8a4ba88dc7477130e470dddb73d37e3c3d (diff) | |
download | mariadb-git-d40c4aaa679ad44626ba671a847a0671d68ae412.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; } } |