diff options
author | monty@mysql.com/nosik.monty.fi <> | 2006-11-27 18:16:08 +0200 |
---|---|---|
committer | monty@mysql.com/nosik.monty.fi <> | 2006-11-27 18:16:08 +0200 |
commit | 0e149b717029cf5ee5b34b3f7c5249cc534a3e1c (patch) | |
tree | 20c7910ad3251fb39027f6528cd4c0524220a1a0 /sql/sql_binlog.cc | |
parent | 313f23a93af801ca368fd5f3123f952ab2b8da68 (diff) | |
download | mariadb-git-0e149b717029cf5ee5b34b3f7c5249cc534a3e1c.tar.gz |
Removed compiler warnings
Ensure that my_size_t is always unsigned (to get predictiable results from system to system)
Removed some %lld, as these are not portable
Diffstat (limited to 'sql/sql_binlog.cc')
-rw-r--r-- | sql/sql_binlog.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/sql_binlog.cc b/sql/sql_binlog.cc index b28d8189631..37094b992e5 100644 --- a/sql/sql_binlog.cc +++ b/sql/sql_binlog.cc @@ -114,8 +114,8 @@ void mysql_client_binlog_statement(THD* thd) order to be able to read exactly what is necessary. */ - DBUG_PRINT("info",("binlog base64 decoded_len=%d, bytes_decoded=%d", - decoded_len, bytes_decoded)); + DBUG_PRINT("info",("binlog base64 decoded_len: %lu bytes_decoded: %d", + (ulong) decoded_len, bytes_decoded)); /* Now we start to read events of the buffer, until there are no @@ -161,7 +161,7 @@ void mysql_client_binlog_statement(THD* thd) (long) (bufptr+EVENT_TYPE_OFFSET))); DBUG_PRINT("info", ("bytes_decoded: %d bufptr: 0x%lx buf[EVENT_LEN_OFFSET]: %lu", bytes_decoded, (long) bufptr, - uint4korr(bufptr+EVENT_LEN_OFFSET))); + (ulong) uint4korr(bufptr+EVENT_LEN_OFFSET))); #endif ev->thd= thd; if (int err= ev->exec_event(thd->rli_fake)) |