diff options
author | unknown <monty@donna.mysql.com> | 2000-11-18 02:15:06 +0200 |
---|---|---|
committer | unknown <monty@donna.mysql.com> | 2000-11-18 02:15:06 +0200 |
commit | 0ffa94682eb3ec86bd3c45fdee68f5ecda5e6ab7 (patch) | |
tree | e47c14103d1588f6a27c229783e07d73438c96d0 /sql/mysqlbinlog.cc | |
parent | 19fc413aa25290016069efbc9e25e2e79b3ea7c9 (diff) | |
download | mariadb-git-0ffa94682eb3ec86bd3c45fdee68f5ecda5e6ab7.tar.gz |
Portability fixes
Docs/manual.texi:
Updated links and added more examples
client/mysql.cc:
Added --timeout + merge of Jani:s changes
isam/_dynrec.c:
Fixed bug when making big rows 1 byte smaller
scripts/mysqlhotcopy.sh:
Added regexp handling of filenames
sql-bench/test-insert.sh:
More order by tests
sql/mf_iocache.cc:
Cleanup
sql/mysqld.cc:
Moved my_delete() to before master thread died
sql/sql_parse.cc:
Fixed wrong comparison
Diffstat (limited to 'sql/mysqlbinlog.cc')
-rw-r--r-- | sql/mysqlbinlog.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/mysqlbinlog.cc b/sql/mysqlbinlog.cc index 12b8e71d017..dd1d6fe9765 100644 --- a/sql/mysqlbinlog.cc +++ b/sql/mysqlbinlog.cc @@ -330,12 +330,12 @@ static void dump_local_log_entries(const char* logname) if (position) { /* skip 'position' characters from stdout */ - char buff[IO_SIZE]; + byte buff[IO_SIZE]; my_off_t length,tmp; for (length=position ; length > 0 ; length-=tmp) { tmp=min(length,sizeof(buff)); - if (my_b_read(file,buff,tmp)) + if (my_b_read(file,buff, (uint) tmp)) exit(1); } } |