summaryrefslogtreecommitdiff
path: root/connectivity
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
commit7e53e4596a9460fb3d4750f6cf51f8d9f03e2544 (patch)
treeeb6b1941d5e143fbaee3b0daa22ede3918454b01 /connectivity
parente8b60987500abf6a5a5c905853800e9dd77c3d72 (diff)
dba33f: #i107654# like corrected
Diffstat (limited to 'connectivity')
-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 b73fcf559cce..0588b15a158f 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)))
{