summaryrefslogtreecommitdiff
path: root/sql/my_decimal.cc
diff options
context:
space:
mode:
authormonty@mysql.com <>2005-02-20 00:24:30 +0200
committermonty@mysql.com <>2005-02-20 00:24:30 +0200
commitf3b00a0413804b26eeb610d3bc758a82e0ab33a9 (patch)
tree5b323c32a6dfa4e573976b9c1ee372ab475c144e /sql/my_decimal.cc
parent5bfcabf7cd597f179ba3361cbc3142f26e0b2c70 (diff)
downloadmariadb-git-f3b00a0413804b26eeb610d3bc758a82e0ab33a9.tar.gz
use dbug_print_decimal instead of DBUG_EXECUTE
Portability fix Note: rpl_trunc_binlog fails, but Sergei has promised to fix it, so I will ignore it for now
Diffstat (limited to 'sql/my_decimal.cc')
-rw-r--r--sql/my_decimal.cc2
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