summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/file/FStatement.cxx
diff options
context:
space:
mode:
authorOcke Janssen <oj@openoffice.org>2002-03-27 14:21:10 +0000
committerOcke Janssen <oj@openoffice.org>2002-03-27 14:21:10 +0000
commitc8f51a4906fac740d0c8475c33395c12f57736bd (patch)
tree68414b95c78be8a24e3ac6a12bdf54de9adb941e /connectivity/source/drivers/file/FStatement.cxx
parent146dced1f366982cfb2b4fc59375e9f2f613cf28 (diff)
#96517# correct error msg when no tables were found
Diffstat (limited to 'connectivity/source/drivers/file/FStatement.cxx')
-rw-r--r--connectivity/source/drivers/file/FStatement.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/connectivity/source/drivers/file/FStatement.cxx b/connectivity/source/drivers/file/FStatement.cxx
index c9eb623bd764..541db167854d 100644
--- a/connectivity/source/drivers/file/FStatement.cxx
+++ b/connectivity/source/drivers/file/FStatement.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: FStatement.cxx,v $
*
- * $Revision: 1.27 $
+ * $Revision: 1.28 $
*
- * last change: $Author: fs $ $Date: 2002-01-16 08:42:47 $
+ * last change: $Author: oj $ $Date: 2002-03-27 15:21:10 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -503,8 +503,8 @@ void OStatement_Base::construct(const ::rtl::OUString& sql) throw(SQLException,
m_aSQLIterator.setParseTree(m_pParseTree);
m_aSQLIterator.traverseAll();
const OSQLTables& xTabs = m_aSQLIterator.getTables();
- if(xTabs.empty())
- throw SQLException(::rtl::OUString::createFromAscii("Driver does not support this function!"),*this,::rtl::OUString::createFromAscii("IM001"),0,Any());
+ if ( xTabs.empty() )
+ throw SQLException(::rtl::OUString::createFromAscii("No valid tables found in SQL statement!"),*this,::rtl::OUString::createFromAscii("IM001"),0,Any());
// at this moment we support only one table per select statement
Reference< ::com::sun::star::lang::XUnoTunnel> xTunnel(xTabs.begin()->second,UNO_QUERY);