summaryrefslogtreecommitdiff
path: root/mysys/my_seek.c
diff options
context:
space:
mode:
Diffstat (limited to 'mysys/my_seek.c')
-rw-r--r--mysys/my_seek.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mysys/my_seek.c b/mysys/my_seek.c
index 4ca5393e640..d186d56869a 100644
--- a/mysys/my_seek.c
+++ b/mysys/my_seek.c
@@ -101,6 +101,7 @@ my_off_t my_tell(File fd, myf MyFlags)
my_errno= errno;
if (MyFlags & MY_WME)
my_error(EE_CANT_SEEK, MYF(0), my_filename(fd), my_errno);
+ DBUG_PRINT("error", ("tell: %lu errno: %d", (ulong) pos, my_errno));
}
DBUG_PRINT("exit",("pos: %lu", (ulong) pos));
DBUG_RETURN((my_off_t) pos);