diff options
Diffstat (limited to 'sql/my_decimal.cc')
-rw-r--r-- | sql/my_decimal.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/my_decimal.cc b/sql/my_decimal.cc index 3e3538a1da9..334c40c0f70 100644 --- a/sql/my_decimal.cc +++ b/sql/my_decimal.cc @@ -228,7 +228,7 @@ void dbug_print_decimal(const char *tag, const char *format, my_decimal *val) str.set("NULL", 4, &my_charset_bin); else my_decimal2string(0, val, 0, 0, 0, &str); - DBUG_PRINT(tag, (format, val)); + DBUG_PRINT(tag, (format, (char*) str.ptr())); } #endif |