summaryrefslogtreecommitdiff
path: root/connectivity/inc/connectivity/sqliterator.hxx
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-04-16 13:55:24 +0200
committerFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-04-16 13:55:24 +0200
commit9157048fbcfeb07b19781fa48b834aef43fe8b70 (patch)
tree12752e5df5af0c63898a4942bdca88b9e49a2ec3 /connectivity/inc/connectivity/sqliterator.hxx
parentb90b03e6d52d9627a59724125ef705181f57caf8 (diff)
parent933751b26402df56c714b9584e6ae574c2a36241 (diff)
dba33f: merge with m76-branch
Diffstat (limited to 'connectivity/inc/connectivity/sqliterator.hxx')
-rw-r--r--connectivity/inc/connectivity/sqliterator.hxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/connectivity/inc/connectivity/sqliterator.hxx b/connectivity/inc/connectivity/sqliterator.hxx
index 7394444a9c..6c43324a03 100644
--- a/connectivity/inc/connectivity/sqliterator.hxx
+++ b/connectivity/inc/connectivity/sqliterator.hxx
@@ -40,6 +40,7 @@
#include <map>
#include <memory>
+#include <vector>
namespace connectivity
{
@@ -47,6 +48,8 @@ namespace connectivity
class OSQLParseNode;
class OSQLParser;
+ typedef ::std::pair<const OSQLParseNode*,const OSQLParseNode* > TNodePair;
+
enum OSQLStatementType {
SQL_STATEMENT_UNKNOWN,
SQL_STATEMENT_SELECT,
@@ -279,6 +282,10 @@ namespace connectivity
// tries to find the correct type of the function
sal_Int32 getFunctionReturnType(const OSQLParseNode* _pNode );
+
+ // returns a lis of all joined columns
+ ::std::vector< TNodePair >& getJoinConditions() const;
+
private:
/** traverses the list of table names, and filles _rTables
*/
@@ -351,6 +358,7 @@ namespace connectivity
{
m_aErrors = ::com::sun::star::sdbc::SQLException();
}
+ void impl_fillJoinConditions(const OSQLParseNode* i_pJoinCondition);
};
}