diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2013-08-02 12:10:57 +0200 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2013-08-02 13:57:51 +0200 |
commit | 3d5a27bf5a50870adce0bd43f9f71211e9caaac2 (patch) | |
tree | 29e9ef44862e6f2b827c965deaf042276639addf /dbaccess | |
parent | a8f327a9fc13fe5d0992aba4d217b8c909871237 (diff) |
for later...
Change-Id: I266d2992bcd212a6539e4b50c9daf2c53ff98904
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/core/api/SingleSelectQueryComposer.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dbaccess/source/core/api/SingleSelectQueryComposer.cxx b/dbaccess/source/core/api/SingleSelectQueryComposer.cxx index b1270f0368d7..9143aff769be 100644 --- a/dbaccess/source/core/api/SingleSelectQueryComposer.cxx +++ b/dbaccess/source/core/api/SingleSelectQueryComposer.cxx @@ -1591,6 +1591,9 @@ void OSingleSelectQueryComposer::setConditionByColumn( const Reference< XPropert const OUString aQuote = m_xMetaData->getIdentifierQuoteString(); getColumns(); + // TODO: if this is called for HAVING, check that the column is a GROUP BY column + // or that it is an aggregate function + if ( m_aCurrentColumns[SelectColumns] && m_aCurrentColumns[SelectColumns]->hasByName(aName) ) { Reference<XPropertySet> xColumn; |