mirror of
https://github.com/MariaDB/server.git
synced 2025-01-15 19:42:28 +01:00
myseek: AIX has no "tell"
AIX detects tell in the configure however it really isn't there. Use the my_seek aka lseek implementation.
This commit is contained in:
parent
b34bb81eaf
commit
4ca4d606ac
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue