summaryrefslogtreecommitdiff
path: root/strings
diff options
context:
space:
mode:
authorunknown <ramil@mysql.com>2005-03-23 17:39:20 +0400
committerunknown <ramil@mysql.com>2005-03-23 17:39:20 +0400
commitcd12c26a3105c0bdcaf269b5b69d701639765b25 (patch)
tree2ab28be8223c28c97203eeff2ec44b0f031002a0 /strings
parent226628d12e70201d0dcea969dbf30b3183fd32a5 (diff)
downloadmariadb-git-cd12c26a3105c0bdcaf269b5b69d701639765b25.tar.gz
A fix (bug #9309: Wrong order in INFORMATION_SCHEMA)
strings/ctype-utf8.c: A fix (bug #9309: Wrong order in INFORMATION_SCHEMA) We should clear the last byte, not the next one.
Diffstat (limited to 'strings')
-rw-r--r--strings/ctype-utf8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/strings/ctype-utf8.c b/strings/ctype-utf8.c
index 3b52577c358..cfb169043dc 100644
--- a/strings/ctype-utf8.c
+++ b/strings/ctype-utf8.c
@@ -2276,7 +2276,7 @@ static int my_strnxfrm_utf8(CHARSET_INFO *cs,
}
if (dst < de) /* Clear the last byte, if "dstlen" was an odd number */
- *de= 0x00;
+ *dst= 0x00;
return dstlen;
}