summaryrefslogtreecommitdiff
path: root/mysys/my_seek.c
diff options
context:
space:
mode:
authorunknown <svoj@april.(none)>2007-06-05 03:43:11 +0500
committerunknown <svoj@april.(none)>2007-06-05 03:43:11 +0500
commitfb8baee05c2f5b7f2a7f4307ac910f8796b81abb (patch)
treec8bb0095e230f9d61869f4fc8f5efda1b137a5b1 /mysys/my_seek.c
parent1736ae77027e840910e55621dad170b08448d0d9 (diff)
parentb9234b1f5eb85845c4bf29d5a22f84448420d38f (diff)
downloadmariadb-git-fb8baee05c2f5b7f2a7f4307ac910f8796b81abb.tar.gz
Merge mysql.com:/home/svoj/devel/mysql/BUG27141/mysql-5.0-engines
into mysql.com:/home/svoj/devel/mysql/BUG27141/mysql-5.1-engines mysys/my_seek.c: Auto merged
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 0d30ba203ae..2c661baeff7 100644
--- a/mysys/my_seek.c
+++ b/mysys/my_seek.c
@@ -88,6 +88,7 @@ my_off_t my_tell(File fd, myf MyFlags __attribute__((unused)))
os_off_t pos;
DBUG_ENTER("my_tell");
DBUG_PRINT("my",("Fd: %d MyFlags: %d",fd, MyFlags));
+ DBUG_ASSERT(fd >= 0);
#ifdef HAVE_TELL
pos=tell(fd);
#else