summaryrefslogtreecommitdiff
path: root/strings/ctype-simple.c
diff options
context:
space:
mode:
authorunknown <gkodinov/kgeorge@magare.gmz>2007-07-11 12:44:49 +0300
committerunknown <gkodinov/kgeorge@magare.gmz>2007-07-11 12:44:49 +0300
commit72233031eea0bb2a56130c34b7b5dfc73cbf980c (patch)
tree33a89b17daf3bef24b5515c994afae18ad2e1d16 /strings/ctype-simple.c
parent4f45f89fe89543b1c3635e4b7997c893457a9288 (diff)
parent77a1bc5e4c2156b558cf6edc478b6ed512ea7abc (diff)
downloadmariadb-git-72233031eea0bb2a56130c34b7b5dfc73cbf980c.tar.gz
Merge magare.gmz:/home/kgeorge/mysql/autopush/B29325-5.0-opt
into magare.gmz:/home/kgeorge/mysql/work/B29325-merge-5.1-opt client/mysql.cc: Auto merged include/my_base.h: Auto merged mysql-test/r/ctype_collate.result: Auto merged mysql-test/r/gis-rtree.result: Auto merged mysql-test/t/gis-rtree.test: Auto merged storage/myisam/mi_create.c: Auto merged strings/ctype-simple.c: Auto merged mysys/my_conio.c: 5.0-opt -> 5.1.-opt merge storage/myisam/sp_key.c: 5.0-opt -> 5.1.-opt merge
Diffstat (limited to 'strings/ctype-simple.c')
-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 9a80b932d20..6b71f29f0d2 100644
--- a/strings/ctype-simple.c
+++ b/strings/ctype-simple.c
@@ -185,7 +185,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 != ' ')
+ if (map[*a] != ' ')
return (map[*a] < ' ') ? -swap : swap;
}
}