From 4ca4d606ac96cabe013eb5c9e4eda92233cf1697 Mon Sep 17 00:00:00 2001 From: Daniel Black Date: Fri, 19 Mar 2021 11:14:47 +1100 Subject: [PATCH] myseek: AIX has no "tell" AIX detects tell in the configure however it really isn't there. Use the my_seek aka lseek implementation. --- mysys/my_seek.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mysys/my_seek.c b/mysys/my_seek.c index 6a370b0ad43..db364ccddda 100644 --- a/mysys/my_seek.c +++ b/mysys/my_seek.c @@ -86,7 +86,7 @@ my_off_t my_tell(File fd, myf MyFlags) DBUG_ENTER("my_tell"); DBUG_PRINT("my",("fd: %d MyFlags: %lu",fd, MyFlags)); DBUG_ASSERT(fd >= 0); -#if defined (HAVE_TELL) && !defined (_WIN32) +#if defined (HAVE_TELL) && !defined (_WIN32) && !defined(_AIX) pos= tell(fd); #else pos= my_seek(fd, 0L, MY_SEEK_CUR,0);