summaryrefslogtreecommitdiff
path: root/strings
diff options
context:
space:
mode:
authorunknown <konstantin@mysql.com>2005-01-13 19:03:21 +0300
committerunknown <konstantin@mysql.com>2005-01-13 19:03:21 +0300
commit0e21414aa5b4f503280c6a7328fde8f72fe57dc7 (patch)
tree42d278546f1e5346d848be0dddfde54975ad05a3 /strings
parent21dce6253405598e5c6f9c669ee6ef5e550c2ca3 (diff)
downloadmariadb-git-0e21414aa5b4f503280c6a7328fde8f72fe57dc7.tar.gz
Fix valgrind warning + post-merge fixes.
sql/ha_innodb.cc: Fix valgrind warning. strings/ctype-uca.c: Fix C++ style comments.
Diffstat (limited to 'strings')
-rw-r--r--strings/ctype-uca.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/strings/ctype-uca.c b/strings/ctype-uca.c
index 605dd2cdab0..2353c9397a2 100644
--- a/strings/ctype-uca.c
+++ b/strings/ctype-uca.c
@@ -7220,7 +7220,7 @@ static int my_strnxfrm_uca(CHARSET_INFO *cs,
uchar *dst, uint dstlen,
const uchar *src, uint srclen)
{
- uchar *de = dst + (dstlen & (uint) ~1); // add even length for easier code
+ uchar *de = dst + (dstlen & (uint) ~1); /* add even length for easier code */
int s_res;
my_uca_scanner scanner;
scanner_handler->init(&scanner, cs, src, srclen);
@@ -7238,7 +7238,7 @@ static int my_strnxfrm_uca(CHARSET_INFO *cs,
dst[1]= s_res & 0xFF;
dst+= 2;
}
- if (dstlen & 1) // if odd number then fill the last char
+ if (dstlen & 1) /* if odd number then fill the last char */
*dst= '\0';
return dstlen;