diff options
author | Alexey Kopytov <Alexey.Kopytov@Sun.com> | 2009-12-16 16:47:07 +0300 |
---|---|---|
committer | Alexey Kopytov <Alexey.Kopytov@Sun.com> | 2009-12-16 16:47:07 +0300 |
commit | f1e83a4163458f7e25c709403cc7c7b48a7ef23e (patch) | |
tree | fa68ffcd1dbdaf248e483a5692358fe7330ec507 /strings | |
parent | bcedf962ff7d22dd4d921a099fa38feeacc01b0b (diff) | |
parent | 8b19de0de10094b25be63cd6a9a1d61517602f0b (diff) | |
download | mariadb-git-f1e83a4163458f7e25c709403cc7c7b48a7ef23e.tar.gz |
Manual merge of mysql-5.1-bugteam into mysql-trunk-merge.
Diffstat (limited to 'strings')
-rw-r--r-- | strings/ctype-ucs2.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/strings/ctype-ucs2.c b/strings/ctype-ucs2.c index f030c08523c..069131ba354 100644 --- a/strings/ctype-ucs2.c +++ b/strings/ctype-ucs2.c @@ -1602,16 +1602,6 @@ fill_max_and_min: *min_str++= *max_str++ = ptr[1]; } - /* Temporary fix for handling w_one at end of string (key compression) */ - { - char *tmp; - for (tmp= min_str ; tmp-1 > min_org && tmp[-1] == '\0' && tmp[-2]=='\0';) - { - *--tmp=' '; - *--tmp='\0'; - } - } - *min_length= *max_length = (size_t) (min_str - min_org); while (min_str + 1 < min_end) { |