From aa107ef3ab47c9bfbd177672e64d2af56ce1b1b5 Mon Sep 17 00:00:00 2001 From: Olivier Bertrand Date: Wed, 25 Feb 2015 11:59:00 +0100 Subject: - FIX assert failure when sorting JSON tables modified: storage/connect/tabjson.cpp storage/connect/tabjson.h --- storage/connect/tabjson.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'storage/connect/tabjson.cpp') diff --git a/storage/connect/tabjson.cpp b/storage/connect/tabjson.cpp index 827828c06ee..41a6e72a76a 100644 --- a/storage/connect/tabjson.cpp +++ b/storage/connect/tabjson.cpp @@ -117,7 +117,8 @@ TDBJSN::TDBJSN(PJDEF tdp, PTXF txfp) : TDBDOS(tdp, txfp) Jmode = tdp->Jmode; Xcol = tdp->Xcol; Fpos = -1; - Spos = N = 0; +//Spos = 0; + N = 0; Limit = tdp->Limit; NextSame = 0; SameRow = 0; @@ -134,7 +135,7 @@ TDBJSN::TDBJSN(TDBJSN *tdbp) : TDBDOS(NULL, tdbp) Jmode = tdbp->Jmode; Xcol = tdbp->Xcol; Fpos = tdbp->Fpos; - Spos = tdbp->Spos; +//Spos = tdbp->Spos; N = tdbp->N; Limit = tdbp->Limit; NextSame = tdbp->NextSame; @@ -222,7 +223,7 @@ bool TDBJSN::OpenDB(PGLOBAL g) /* Table already open replace it at its beginning. */ /*******************************************************************/ Fpos= -1; - Spos = 0; +// Spos = 0; NextSame = 0; SameRow = 0; } else { @@ -1299,7 +1300,6 @@ bool TDBJSON::OpenDB(PGLOBAL g) /* Table already open replace it at its beginning. */ /*******************************************************************/ Fpos= -1; - Spos = 0; NextSame = false; SameRow = 0; return false; -- cgit v1.2.1