diff options
author | unknown <ramil@mysql.com> | 2005-03-23 17:39:20 +0400 |
---|---|---|
committer | unknown <ramil@mysql.com> | 2005-03-23 17:39:20 +0400 |
commit | cd12c26a3105c0bdcaf269b5b69d701639765b25 (patch) | |
tree | 2ab28be8223c28c97203eeff2ec44b0f031002a0 /strings | |
parent | 226628d12e70201d0dcea969dbf30b3183fd32a5 (diff) | |
download | mariadb-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.c | 2 |
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; } |