connectivity/source/drivers/file/fcomp.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 23e9fe3b8f71f7d47b0e4a132252efb91cac9e6d
Author:     Julien Nabet <serval2...@yahoo.fr>
AuthorDate: Sun Sep 8 11:02:43 2024 +0200
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Sun Sep 8 16:51:59 2024 +0200

    tdf#155751: dBase: BETWEEN won't include first and last value in queries
    
    Since the beginning:
    commit 86c5930e98a48fef73253535fa7508c187a093f0
    Author: Jens-Heiner Rechtien <h...@openoffice.org>
    Date:   Mon Aug 2 16:04:09 2004 +0000
    
        INTEGRATION: CWS insight01 (1.19.14); FILE MERGED
        2004/06/03 14:48:29 oj 1.19.14.3: #i18836# imple between key word
        2004/05/28 11:16:26 oj 1.19.14.2: RESYNC: (1.19-1.20); FILE MERGED
        2004/05/12 10:48:11 oj 1.19.14.1: change SQLFilterOperator
    
    Change-Id: I75d00c313072e08279ca2f37cb65bb3414447d16
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173036
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2...@yahoo.fr>
    (cherry picked from commit 403075b4614d2926a07cb43806c3e9ef311ee779)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173015
    Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org>

diff --git a/connectivity/source/drivers/file/fcomp.cxx 
b/connectivity/source/drivers/file/fcomp.cxx
index a00de03eeb3a..871e8fc8bef6 100644
--- a/connectivity/source/drivers/file/fcomp.cxx
+++ b/connectivity/source/drivers/file/fcomp.cxx
@@ -330,12 +330,12 @@ void OPredicateCompiler::execute_BETWEEN(OSQLParseNode 
const * pPredicateNode)
 
     OOperand* pColumnOp = execute(pColumn);
     OOperand* pOb1 = execute(p1stValue);
-    OBoolOperator* pOperator = new OOp_COMPARE(bNot ? 
SQLFilterOperator::LESS_EQUAL : SQLFilterOperator::GREATER);
+    OBoolOperator* pOperator = new OOp_COMPARE(bNot ? SQLFilterOperator::LESS 
: SQLFilterOperator::GREATER_EQUAL);
     m_aCodeList.emplace_back(pOperator);
 
     execute(pColumn);
     OOperand* pOb2 = execute(p2ndtValue);
-    pOperator = new OOp_COMPARE(bNot ? SQLFilterOperator::GREATER_EQUAL : 
SQLFilterOperator::LESS);
+    pOperator = new OOp_COMPARE(bNot ? SQLFilterOperator::GREATER : 
SQLFilterOperator::LESS_EQUAL);
     m_aCodeList.emplace_back(pOperator);
 
     if ( pColumnOp && pOb1 && pOb2 )

Reply via email to