summaryrefslogtreecommitdiff
path: root/mysys/my_seek.c
diff options
context:
space:
mode:
authorunknown <monty@hundin.mysql.fi>2001-11-29 21:46:51 +0200
committerunknown <monty@hundin.mysql.fi>2001-11-29 21:46:51 +0200
commitc2689648cfe60d280c5a3da350f57527745deab3 (patch)
treeca1de5e435dc38ba3f7f3b2ae2fb610b292baef0 /mysys/my_seek.c
parentc90f67fb06430e16e3c37d1420591ac7419a40c4 (diff)
downloadmariadb-git-c2689648cfe60d280c5a3da350f57527745deab3.tar.gz
Fix not critical MyISAM bug in locking.
Free character sets properly (for embedded). Add missing mutex in HANDLER CLOSE Build-tools/Do-compile: Update for gcc 3.0 Docs/manual.texi: Update for gcc 3.0 myisam/mi_locking.c: Fix not critical bug in locking myisam/myisamdef.h: Fix not critical bug in locking mysys/my_init.c: Free character sets properly mysys/my_seek.c: Remove warning sql-bench/server-cfg.sh: Fix benchmarks to run with MySQL sql/sql_handler.cc: Add missing mutex sql/sql_update.cc: Clean up procinfo
Diffstat (limited to 'mysys/my_seek.c')
-rw-r--r--mysys/my_seek.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/my_seek.c b/mysys/my_seek.c
index 87da4d93cb7..5ee094c1be4 100644
--- a/mysys/my_seek.c
+++ b/mysys/my_seek.c
@@ -35,7 +35,7 @@ my_off_t my_seek(File fd, my_off_t pos, int whence,
DBUG_PRINT("error",("lseek: %lu, errno: %d",newpos,errno));
DBUG_RETURN(MY_FILEPOS_ERROR);
}
- if (newpos != pos)
+ if ((my_off_t) newpos != pos)
{
DBUG_PRINT("exit",("pos: %lu", (ulong) newpos));
}