summaryrefslogtreecommitdiff
path: root/client/mysqlbinlog.cc
diff options
context:
space:
mode:
authorlars@mysql.com <>2005-10-12 19:31:24 +0200
committerlars@mysql.com <>2005-10-12 19:31:24 +0200
commit0378009b5bcf1f7b8462a3870119f22decaa3b9f (patch)
tree39450b4f1033edcfcddf5d9f5389bf51d0f13003 /client/mysqlbinlog.cc
parent304d4f580b0b085aaac008693689f82e6101c320 (diff)
downloadmariadb-git-0378009b5bcf1f7b8462a3870119f22decaa3b9f.tar.gz
Fix of incompatible types
len and packet_error needs to be of same type for (len == packet_error) to check failures
Diffstat (limited to 'client/mysqlbinlog.cc')
-rw-r--r--client/mysqlbinlog.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/mysqlbinlog.cc b/client/mysqlbinlog.cc
index 5345d6d0f54..ffb653eabdb 100644
--- a/client/mysqlbinlog.cc
+++ b/client/mysqlbinlog.cc
@@ -1003,7 +1003,8 @@ static int dump_remote_log_entries(const char* logname)
{
char buf[128];
LAST_EVENT_INFO last_event_info;
- uint len, logname_len;
+ ulong len;
+ uint logname_len;
NET* net;
int error= 0;
my_off_t old_off= start_position_mot;