diff options
author | Olivier Bertrand <bertrandop@gmail.com> | 2014-09-29 14:42:50 +0200 |
---|---|---|
committer | Olivier Bertrand <bertrandop@gmail.com> | 2014-09-29 14:42:50 +0200 |
commit | 4b2b2abe8bdb12a2e97e5d27805477013b49edde (patch) | |
tree | a711fcf83c4fd877eab72497f3f10be1d8ff1b90 /storage/connect/filamap.h | |
parent | ed72d2d2105b65419e3b7bb04132fada030fbd6f (diff) | |
download | mariadb-git-4b2b2abe8bdb12a2e97e5d27805477013b49edde.tar.gz |
- fix MDEV-6802: MPXFAM::GetNextPos redefined
modified:
storage/connect/filamap.h
Diffstat (limited to 'storage/connect/filamap.h')
-rw-r--r-- | storage/connect/filamap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/connect/filamap.h b/storage/connect/filamap.h index 1d85fa36155..1d44239e610 100644 --- a/storage/connect/filamap.h +++ b/storage/connect/filamap.h @@ -104,7 +104,7 @@ class DllExport MPXFAM : public MBKFAM { virtual int MaxBlkSize(PGLOBAL g, int s) {return TXTFAM::MaxBlkSize(g, s);} virtual bool SetPos(PGLOBAL g, int recpos); - virtual int GetNextPos(void) {return (int)Fpos + Nrec;} + virtual int GetNextPos(void) {return GetPos() + 1;} virtual bool DeferReading(void) {return false;} virtual int ReadBuffer(PGLOBAL g); virtual int WriteBuffer(PGLOBAL g); |