summaryrefslogtreecommitdiff
path: root/mysys/my_seek.c
diff options
context:
space:
mode:
authorunknown <monty@donna.mysql.com>2001-01-15 17:17:43 +0200
committerunknown <monty@donna.mysql.com>2001-01-15 17:17:43 +0200
commit4d37689abeeaacb662c31d58038d2386a5228f8f (patch)
tree4264a6499afeab1b99e53f927059e5450643a435 /mysys/my_seek.c
parent4e264107df5c286d0a06ff28699aec398e36e684 (diff)
downloadmariadb-git-4d37689abeeaacb662c31d58038d2386a5228f8f.tar.gz
Fixed test when exeeding file quota on write
Sanity checks when opening MyISAM files Docs/manual.texi: Added information about Borland c++ myisam/mi_check.c: Cleanup myisam/mi_open.c: Added sanity checking myisam/myisamchk.c: Better error messages mysys/my_chsize.c: Cleanup mysys/my_seek.c: Changed debug message mysys/my_write.c: Fixed test when exeeding file quota
Diffstat (limited to 'mysys/my_seek.c')
-rw-r--r--mysys/my_seek.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mysys/my_seek.c b/mysys/my_seek.c
index 12f8ced0642..d8e8cf83b6d 100644
--- a/mysys/my_seek.c
+++ b/mysys/my_seek.c
@@ -24,8 +24,8 @@ my_off_t my_seek(File fd, my_off_t pos, int whence, myf MyFlags)
{
reg1 os_off_t newpos;
DBUG_ENTER("my_seek");
- DBUG_PRINT("my",("Fd: %d Pos: %lu Whence: %d MyFlags: %d",
- fd, (ulong) pos, whence, MyFlags));
+ DBUG_PRINT("my",("Fd: %d Hpos: %lu Pos: %lu Whence: %d MyFlags: %d",
+ fd, ((ulonglong) pos) >> 32, (ulong) pos, whence, MyFlags));
newpos=lseek(fd, pos, whence);
if (newpos == (os_off_t) -1)
{