summaryrefslogtreecommitdiff
path: root/strings
diff options
context:
space:
mode:
authorunknown <igor@olga.mysql.com>2007-07-13 19:05:30 -0700
committerunknown <igor@olga.mysql.com>2007-07-13 19:05:30 -0700
commit8c56d8e89ce04745e21a0aac8e2f7dd704b83a19 (patch)
tree10fb10faaeac7b7677d02d00ed8eabf38fd6dc42 /strings
parentb15bd3086e6385f7d057d5db4766844734dcf30f (diff)
parent85603b2e0b6b51c57de7019f451461e676c458de (diff)
downloadmariadb-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.c2
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;
}
}