diff options
author | monty@mashka.mysql.fi <> | 2003-05-13 10:54:07 +0300 |
---|---|---|
committer | monty@mashka.mysql.fi <> | 2003-05-13 10:54:07 +0300 |
commit | 4bde719df7b67e8c42c16724af0e3eacb64c3757 (patch) | |
tree | 911f869319dc53526bc2bb909aa87944db9d2696 /mysys/raid.cc | |
parent | 5b7a86faec185e5d787586a35ee6866e12997836 (diff) | |
download | mariadb-git-4bde719df7b67e8c42c16724af0e3eacb64c3757.tar.gz |
Safety fix to enable RAID in max binaries
Better fix for format('nan')
Fix for HAVING COUNT(DISTINCT...)
Diffstat (limited to 'mysys/raid.cc')
-rw-r--r-- | mysys/raid.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mysys/raid.cc b/mysys/raid.cc index d6359dc0f93..0b688464fb3 100644 --- a/mysys/raid.cc +++ b/mysys/raid.cc @@ -157,10 +157,10 @@ extern "C" { DBUG_PRINT("enter",("Fd: %d pos: %lu whence: %d MyFlags: %d", fd, (ulong) pos, whence, MyFlags)); - assert(pos != MY_FILEPOS_ERROR); - if (is_raid(fd)) { + assert(pos != MY_FILEPOS_ERROR); + RaidFd *raid= (*dynamic_element(&RaidFd::_raid_map,fd,RaidFd**)); DBUG_RETURN(raid->Seek(pos,whence,MyFlags)); } |