From 20038678cff13261f886b3fdb7e2f04fae1386b5 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 18 Dec 2001 05:34:00 +0200 Subject: Updated benchmarks Portability fixes. Fixed bug in mysqlbinlog when detecting binary log version client/mysqlbinlog.cc: Fixed bug when detecting binary log version configure.in: Portability fix for HPUX mysql-test/mysql-test-run.sh: Portability fix sql-bench/bench-init.pl.sh: Updated benchmarks sql-bench/run-all-tests.sh: Updated benchmarks sql-bench/server-cfg.sh: Updated benchmarks sql-bench/test-ATIS.sh: Updated benchmarks sql-bench/test-connect.sh: Updated benchmarks --- client/mysqlbinlog.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client/mysqlbinlog.cc') diff --git a/client/mysqlbinlog.cc b/client/mysqlbinlog.cc index c7244e07e8c..3d30283d13a 100644 --- a/client/mysqlbinlog.cc +++ b/client/mysqlbinlog.cc @@ -20,7 +20,7 @@ #include #include "log_event.h" -#define PROBE_HEADER_LEN (4+EVENT_LEN_OFFSET) +#define PROBE_HEADER_LEN (4+EVENT_LEN_OFFSET+4) #define CLIENT_CAPABILITIES (CLIENT_LONG_PASSWORD | CLIENT_LONG_FLAG | CLIENT_LOCAL_FILES) @@ -102,7 +102,7 @@ static void die(const char* fmt, ...) static void print_version() { - printf("%s Ver 1.6 for %s at %s\n",my_progname,SYSTEM_TYPE, MACHINE_TYPE); + printf("%s Ver 1.7 for %s at %s\n",my_progname,SYSTEM_TYPE, MACHINE_TYPE); } -- cgit v1.2.1