diff options
author | unknown <monty@mysql.com> | 2005-02-20 00:24:30 +0200 |
---|---|---|
committer | unknown <monty@mysql.com> | 2005-02-20 00:24:30 +0200 |
commit | 3805001f7c1600b3c34a97478031e68b95cf9918 (patch) | |
tree | 5b323c32a6dfa4e573976b9c1ee372ab475c144e /sql/my_decimal.cc | |
parent | a39f87f3078029760cf85637843c67ebb89693e3 (diff) | |
download | mariadb-git-3805001f7c1600b3c34a97478031e68b95cf9918.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
sql/field.cc:
use dbug_print_decimal instead of DBUG_EXECUTE
sql/item.h:
Portability fix
sql/my_decimal.cc:
Fix error in last changeset (not pushed)
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 |