impl_parseLikeNodeToString_throw should be called only on a like_predicate

Change-Id: I3597aadab8b13703ed7b7731d530320c4e5999be
This commit is contained in:
Lionel Elie Mamane
2013-06-28 16:25:11 +02:00
parent ede7f6ae5f
commit 2cfb215de6

View File

@@ -747,6 +747,7 @@ void OSQLParseNode::impl_parseTableRangeNodeToString_throw(OUStringBuffer& rStri
void OSQLParseNode::impl_parseLikeNodeToString_throw( OUStringBuffer& rString, const SQLParseNodeParameter& rParam, bool bSimple ) const
{
SAL_INFO( "connectivity.parse", "parse Ocke.Janssen@sun.com OSQLParseNode::impl_parseLikeNodeToString_throw" );
assert(SQL_ISRULE(this,like_predicate));
OSL_ENSURE(count() == 2,"count != 2: Prepare for GPF");
const OSQLParseNode* pEscNode = NULL;