summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
Diffstat (limited to 'sql')
-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))