diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-12-13 15:37:24 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-12-13 15:40:18 +0100 |
commit | d203855908dfb139f9ba2f755d5056de7c34d842 (patch) | |
tree | 20278b365e164322486628fcab7ce157ad865a87 | |
parent | fdo#70989: Change wording from "Output Range" to "Results to". (diff) | |
download | core-d203855908dfb139f9ba2f755d5056de7c34d842.tar.gz core-d203855908dfb139f9ba2f755d5056de7c34d842.zip |
assert non-nullness
dd0990db74a4a5c3a129a7ff0ed2a739cd74a381 "fdo#72463 RowSet: on execute when not
dirty, rebuild cache" had temporarily introduced a bug that caused m_pParseTree
to be null here during JunitTest_dbaccess_unoapi, but Lionel states that it
cannot legitimately be null, even though the computation of m_bIsCount in the
ctor takes potentially null m_pParseTree into account.
Change-Id: If95f076a4c80f80cd58bba83521633fe8bb71f5d
-rw-r--r-- | connectivity/source/drivers/file/FResultSet.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/connectivity/source/drivers/file/FResultSet.cxx b/connectivity/source/drivers/file/FResultSet.cxx index d8fbde1da9a2..11da82b290b0 100644 --- a/connectivity/source/drivers/file/FResultSet.cxx +++ b/connectivity/source/drivers/file/FResultSet.cxx @@ -1428,6 +1428,7 @@ sal_Bool OResultSet::OpenImpl() else { sal_Bool bDistinct = sal_False; + assert(m_pParseTree != 0); OSQLParseNode *pDistinct = m_pParseTree->getChild(1); assert(m_aOrderbyColumnNumber.size() == |