summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2018-05-29 08:55:07 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2018-05-29 08:55:07 +0300
commitb7985a45a67f5e3537b1d7b5a6830a0ad4267554 (patch)
tree393cd7f7c718806b9bb56453fa9cf8c396386902
parent35a9c90fff5e2b8ffc5acc7d7ed051f04c013213 (diff)
downloadmariadb-git-b7985a45a67f5e3537b1d7b5a6830a0ad4267554.tar.gz
Fix type mismatch
-rw-r--r--sql/sql_string.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_string.cc b/sql/sql_string.cc
index 2c5be35e887..c22e33182c6 100644
--- a/sql/sql_string.cc
+++ b/sql/sql_string.cc
@@ -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
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));
}
else if ((str_length=arg_length))