diff options
author | Ocke Janssen <oj@openoffice.org> | 2002-10-07 12:09:48 +0000 |
---|---|---|
committer | Ocke Janssen <oj@openoffice.org> | 2002-10-07 12:09:48 +0000 |
commit | 58b26608a764f02e6be13618a71c6baf5982cc6d (patch) | |
tree | 6b9277c8cef302b827793b202a78e52b74b06b5b /dbaccess/source/ui/dlg/AdabasStat.cxx | |
parent | 2d8d2de1b1f43b69434fe835d6ecb0fa7304d135 (diff) |
#i3289# correct table name quoting so that in every situation the correct schema, catalog is used
Diffstat (limited to 'dbaccess/source/ui/dlg/AdabasStat.cxx')
-rw-r--r-- | dbaccess/source/ui/dlg/AdabasStat.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/dbaccess/source/ui/dlg/AdabasStat.cxx b/dbaccess/source/ui/dlg/AdabasStat.cxx index 538f4f15f270..6d8c12ce4610 100644 --- a/dbaccess/source/ui/dlg/AdabasStat.cxx +++ b/dbaccess/source/ui/dlg/AdabasStat.cxx @@ -2,9 +2,9 @@ * * $RCSfile: AdabasStat.cxx,v $ * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * - * last change: $Author: oj $ $Date: 2002-08-19 07:43:43 $ + * last change: $Author: oj $ $Date: 2002-10-07 13:06:33 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -160,7 +160,7 @@ OAdabasStatistics::OAdabasStatistics( Window* pParent, { aStmt = ::rtl::OUString::createFromAscii("SELECT SERVERDBSIZE, UNUSEDPAGES FROM "); - aStmt += ::dbtools::quoteTableName(xMetaData,sSchema); + aStmt += ::dbtools::quoteTableName(xMetaData,sSchema,::dbtools::eInDataManipulation); aStmt += ::rtl::OUString::createFromAscii(".\"SERVERDBSTATISTICS\""); xStmt = m_xConnection->createStatement(); @@ -207,7 +207,7 @@ OAdabasStatistics::OAdabasStatistics( Window* pParent, { // then the db files aStmt = ::rtl::OUString::createFromAscii("SELECT DEVSPACENAME FROM "); - aStmt += ::dbtools::quoteTableName(xMetaData,sSchema); + aStmt += ::dbtools::quoteTableName(xMetaData,sSchema,::dbtools::eInDataManipulation); aStmt += ::rtl::OUString::createFromAscii(".\"DATADEVSPACES\""); xStmt = m_xConnection->createStatement(); xRes = xStmt->executeQuery(aStmt); @@ -243,7 +243,7 @@ OAdabasStatistics::OAdabasStatistics( Window* pParent, if(bCanSelect) { aStmt = ::rtl::OUString::createFromAscii("SELECT * FROM "); - aStmt += ::dbtools::quoteTableName(xMetaData,sSchema); + aStmt += ::dbtools::quoteTableName(xMetaData,sSchema,::dbtools::eInDataManipulation); aStmt += ::rtl::OUString::createFromAscii(".CONFIGURATION WHERE DESCRIPTION LIKE 'SYS%DEVSPACE%NAME'"); xStmt = m_xConnection->createStatement(); xRes = xStmt->executeQuery(aStmt); @@ -256,7 +256,7 @@ OAdabasStatistics::OAdabasStatistics( Window* pParent, showError(); aStmt = ::rtl::OUString::createFromAscii("SELECT * FROM "); - aStmt += ::dbtools::quoteTableName(xMetaData,sSchema); + aStmt += ::dbtools::quoteTableName(xMetaData,sSchema,::dbtools::eInDataManipulation); aStmt += ::rtl::OUString::createFromAscii(".CONFIGURATION WHERE DESCRIPTION = 'TRANSACTION LOG NAME'"); xRes = xStmt->executeQuery(aStmt); if(xRes.is() && xRes->next()) |