diff options
author | monty@mysql.com <> | 2005-02-20 00:24:30 +0200 |
---|---|---|
committer | monty@mysql.com <> | 2005-02-20 00:24:30 +0200 |
commit | f3b00a0413804b26eeb610d3bc758a82e0ab33a9 (patch) | |
tree | 5b323c32a6dfa4e573976b9c1ee372ab475c144e /sql/my_decimal.cc | |
parent | 5bfcabf7cd597f179ba3361cbc3142f26e0b2c70 (diff) | |
download | mariadb-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.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 |