diff options
author | monty@hundin.mysql.fi <> | 2001-09-21 03:38:35 +0300 |
---|---|---|
committer | monty@hundin.mysql.fi <> | 2001-09-21 03:38:35 +0300 |
commit | 5a14bb2a7ee1f5461f73004833fe7439a282de35 (patch) | |
tree | bd27d62de7286eca9070d981c59b7cc1c889d9f1 /client | |
parent | ea0523bd719e59205cb0259a0977ae6c07a7ca00 (diff) | |
download | mariadb-git-5a14bb2a7ee1f5461f73004833fe7439a282de35.tar.gz |
Integrated table->ref_primary_key into table->part_of_key
Fixed bug in UNION
Diffstat (limited to 'client')
-rw-r--r-- | client/mysqlbinlog.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/client/mysqlbinlog.cc b/client/mysqlbinlog.cc index ac2f3e4efda..58a22b74282 100644 --- a/client/mysqlbinlog.cc +++ b/client/mysqlbinlog.cc @@ -321,6 +321,7 @@ static void dump_remote_log_entries(const char* logname) for(;;) { + const char *error; len = net_safe_read(mysql); if (len == packet_error) die("Error reading packet from server: %s", mysql_error(mysql)); @@ -330,8 +331,8 @@ static void dump_remote_log_entries(const char* logname) len, net->read_pos[5])); Log_event * ev = Log_event::read_log_event( (const char*) net->read_pos + 1 , - len - 1); - if(ev) + len - 1, &error); + if (ev) { ev->print(result_file, short_form, last_db); if(ev->get_type_code() == LOAD_EVENT) |