summaryrefslogtreecommitdiff
path: root/storage/connect/filamap.h
diff options
context:
space:
mode:
authorOlivier Bertrand <bertrandop@gmail.com>2014-09-29 14:42:50 +0200
committerOlivier Bertrand <bertrandop@gmail.com>2014-09-29 14:42:50 +0200
commit4b2b2abe8bdb12a2e97e5d27805477013b49edde (patch)
treea711fcf83c4fd877eab72497f3f10be1d8ff1b90 /storage/connect/filamap.h
parented72d2d2105b65419e3b7bb04132fada030fbd6f (diff)
downloadmariadb-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.h2
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);