1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

Fix type mismatch

This commit is contained in:
Marko Mäkelä
2018-05-29 08:55:07 +03:00
parent 35a9c90fff
commit b7985a45a6

View File

@ -189,7 +189,7 @@ bool String::copy(const char *str,uint32 arg_length, CHARSET_INFO *cs)
This can happen in some cases. This code is here mainly to avoid This can happen in some cases. This code is here mainly to avoid
warnings from valgrind, but can also be an indication of error. warnings from valgrind, but can also be an indication of error.
*/ */
DBUG_PRINT("warning", ("Copying string on itself: %p %lu", DBUG_PRINT("warning", ("Copying string on itself: %p %u",
str, arg_length)); str, arg_length));
} }
else if ((str_length=arg_length)) else if ((str_length=arg_length))