summaryrefslogtreecommitdiff
path: root/connectivity/source/parse
diff options
context:
space:
mode:
authorOcke Janssen <oj@openoffice.org>2002-10-07 12:09:48 +0000
committerOcke Janssen <oj@openoffice.org>2002-10-07 12:09:48 +0000
commit490501f728e64d8e1f7c1ac9d0740a54590c76b5 (patch)
treefaed6b232780bb91d22aa41c7a5885e4f83de956 /connectivity/source/parse
parent62577268f72c9ae9f77894784f9b713c5a122d2a (diff)
#i3289# correct table name quoting so that in every situation the correct schema, catalog is used
Diffstat (limited to 'connectivity/source/parse')
-rw-r--r--connectivity/source/parse/sqliterator.cxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/connectivity/source/parse/sqliterator.cxx b/connectivity/source/parse/sqliterator.cxx
index a0f01adb52cb..2c9e95200c38 100644
--- a/connectivity/source/parse/sqliterator.cxx
+++ b/connectivity/source/parse/sqliterator.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: sqliterator.cxx,v $
*
- * $Revision: 1.32 $
+ * $Revision: 1.33 $
*
- * last change: $Author: oj $ $Date: 2002-09-27 11:01:52 $
+ * last change: $Author: oj $ $Date: 2002-10-07 12:49:18 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -233,7 +233,8 @@ void OSQLParseTreeIterator::traverseOneTableName(const OSQLParseNode * pTableNam
aSchema,
aTableName,
aComposedName,
- sal_False);
+ sal_False,
+ ::dbtools::eInDataManipulation);
// if there is no alias for the table name assign the orignal name to it
if (!aTableRange.getLength())
aTableRange = aComposedName;
@@ -278,7 +279,8 @@ void OSQLParseTreeIterator::traverseOneTableName(const OSQLParseNode * pTableNam
sSchema,
sName,
aComposedName,
- sal_False);
+ sal_False,
+ ::dbtools::eInDataManipulation);
}
}
if(m_xTables->hasByName(aComposedName)) // the name can be changed before