summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOcke Janssen [oj] <Ocke.Janssen@sun.com>2010-05-27 08:38:58 +0200
committerOcke Janssen [oj] <Ocke.Janssen@sun.com>2010-05-27 08:38:58 +0200
commitb7f00fd5aee03677894553980e8fe07a81bfd37b (patch)
tree567f37bd7ff749dd2af233fa108cd4b546815fec
parent6d8d642a0cddfb83d285d8da69677067bbf9d1f2 (diff)
dba33f: #i107654# like corrected
-rw-r--r--connectivity/source/drivers/file/fcomp.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/drivers/file/fcomp.cxx b/connectivity/source/drivers/file/fcomp.cxx
index a8e40c7898..cfb679ac98 100644
--- a/connectivity/source/drivers/file/fcomp.cxx
+++ b/connectivity/source/drivers/file/fcomp.cxx
@@ -294,8 +294,8 @@ OOperand* OPredicateCompiler::execute_LIKE(OSQLParseNode* pPredicateNode) throw(
sal_Unicode cEscape = L'\0';
const bool bNotLike = pPart2->getChild(0)->isToken();
- OSQLParseNode* pAtom = pPart2->getChild(pPredicateNode->count()-2);
- OSQLParseNode* pOptEscape = pPart2->getChild(pPredicateNode->count()-1);
+ OSQLParseNode* pAtom = pPart2->getChild(pPart2->count()-2);
+ OSQLParseNode* pOptEscape = pPart2->getChild(pPart2->count()-1);
if (!(pAtom->getNodeType() == SQL_NODE_STRING || SQL_ISRULE(pAtom,parameter)))
{