summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorunknown <monty@hundin.mysql.fi>2001-12-18 05:34:00 +0200
committerunknown <monty@hundin.mysql.fi>2001-12-18 05:34:00 +0200
commit20038678cff13261f886b3fdb7e2f04fae1386b5 (patch)
treefd9b8b5be51e148f724af20f6edf3f0a36ba06a3 /client
parent29fabf3a33511005676fca9cc8b818f63cf107f7 (diff)
downloadmariadb-git-20038678cff13261f886b3fdb7e2f04fae1386b5.tar.gz
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
Diffstat (limited to 'client')
-rw-r--r--client/mysqlbinlog.cc4
1 files changed, 2 insertions, 2 deletions
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 <time.h>
#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);
}