summaryrefslogtreecommitdiff
path: root/sql/mf_iocache.cc
diff options
context:
space:
mode:
authorunknown <monty@narttu.mysql.fi>2000-11-17 02:36:46 +0200
committerunknown <monty@narttu.mysql.fi>2000-11-17 02:36:46 +0200
commit8f906f7790ac9041c9ee09cc9ac072d983fdb777 (patch)
tree09e51a2c4d96c3afa0d966f7469e46432fc6dc58 /sql/mf_iocache.cc
parent24137ef26120c29263acda059d79e7c21fe59319 (diff)
downloadmariadb-git-8f906f7790ac9041c9ee09cc9ac072d983fdb777.tar.gz
Fixes for bugs in the usage of IO_CACHE
Docs/manual.texi: Fixed the TRUNCATE syntax + Changelog include/my_sys.h: Added my_b_vprintf mysys/mf_iocache2.c: Added my_b_vprintf mysys/my_vsnprintf.c: Fixed fatal (new) bug mysys/thr_lock.c: Cleanup readline/bind.c: cleanup scripts/Makefile.am: Added mysqldumpslow sql-bench/crash-me.sh: Fixed TRUNCATE sql/log.cc: bug fix sql/log_event.cc: Removed compiler warnings sql/log_event.h: Fixed non portable header in binary dump sql/mf_iocache.cc: cleanup sql/mysqld.cc: Fixed loop problem on NT sql/slave.cc: cleanup sql/sql_class.cc: Fixed typos sql/sql_parse.cc: cleanup sql/sql_select.cc: bugfix sql/sql_table.cc: cleanup sql/sql_yacc.yy: Changed ALTER TABLE ... ORDER BY to get fewer warnings sql/unireg.cc: cleanup sql/unireg.h: Added missing define
Diffstat (limited to 'sql/mf_iocache.cc')
-rw-r--r--sql/mf_iocache.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/mf_iocache.cc b/sql/mf_iocache.cc
index 47c00a8ac00..7f85cc06f57 100644
--- a/sql/mf_iocache.cc
+++ b/sql/mf_iocache.cc
@@ -320,7 +320,7 @@ int _my_b_net_read(register IO_CACHE *info, byte *Buffer,
read_length=my_net_read(net);
if (read_length == (int) packet_error)
{
- info->error=(uint) -1;
+ info->error= -1;
return 1;
}
if (read_length == 0)