summaryrefslogtreecommitdiff
path: root/connectivity/source/parse/sqliterator.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2007-07-31 12:39:08 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2007-07-31 12:39:08 +0000
commite076856d58a34454039104f990c0fafa78501803 (patch)
treea2cec87beb7b5bb19ccbe64d4ca7afafc35fa563 /connectivity/source/parse/sqliterator.cxx
parent4d04d939dc010aad053412d414b23f9cb511d156 (diff)
INTEGRATION: CWS dba23c (1.53.74); FILE MERGED
2007/07/23 08:37:01 fs 1.53.74.1: #i77635# impl_getQueryParameterColumns: also recognize parameters in the SELECT column list
Diffstat (limited to 'connectivity/source/parse/sqliterator.cxx')
-rw-r--r--connectivity/source/parse/sqliterator.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/connectivity/source/parse/sqliterator.cxx b/connectivity/source/parse/sqliterator.cxx
index a3157525b2db..883eb9ce67bf 100644
--- a/connectivity/source/parse/sqliterator.cxx
+++ b/connectivity/source/parse/sqliterator.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: sqliterator.cxx,v $
*
- * $Revision: 1.53 $
+ * $Revision: 1.54 $
*
- * last change: $Author: kz $ $Date: 2006-12-13 16:24:48 $
+ * last change: $Author: hr $ $Date: 2007-07-31 13:39:08 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -384,7 +384,9 @@ void OSQLParseTreeIterator::impl_getQueryParameterColumns( const OSQLTable& _rQu
break;
OSQLParseTreeIterator aSubQueryIterator( *this, m_rParser, pSubQueryNode.get() );
- aSubQueryIterator.traverseSome( Parameters );
+ aSubQueryIterator.traverseSome( Parameters | SelectColumns );
+ // SelectColumns might also contain parameters
+ // #i77635# - 2007-07-23 / frank.schoenheit@sun.com
pSubQueryParameterColumns = aSubQueryIterator.getParameters();
aSubQueryIterator.dispose();