summaryrefslogtreecommitdiff
path: root/strings
diff options
context:
space:
mode:
authorVladislav Vaintroub <vvaintroub@mysql.com>2009-12-19 14:11:48 +0100
committerVladislav Vaintroub <vvaintroub@mysql.com>2009-12-19 14:11:48 +0100
commitcd94452eda6491d72e34983f0cba26ca6344e34b (patch)
treed5461ec6ad35812385dd5cfef327052838c471b4 /strings
parentdd88cefe0b0528e641540bdbfc06113ac79bdcde (diff)
parentfaed50d5552f6d78f4c32274b346516f4267304b (diff)
downloadmariadb-git-cd94452eda6491d72e34983f0cba26ca6344e34b.tar.gz
merge
Diffstat (limited to 'strings')
-rw-r--r--strings/ctype-ucs2.c10
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)
{