summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2015-01-31 17:01:15 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-02-02 15:44:10 +0100
commit291aa47b6039acb80472769362ce6dca14bd98cb (patch)
tree6d9eaafa211c678637bb8666102d790ee50c9099
parenta548059718082f9a0823645e92246c98e5d07c24 (diff)
tdf#88814 parameters are kinda-partially supported, so follow the suggestion
Change-Id: I1a39378d521f128e6b8f35a0bce781435f94e5a8
-rw-r--r--connectivity/source/drivers/macab/MacabStatement.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/connectivity/source/drivers/macab/MacabStatement.cxx b/connectivity/source/drivers/macab/MacabStatement.cxx
index daa5d07654a0..954252fb8b3e 100644
--- a/connectivity/source/drivers/macab/MacabStatement.cxx
+++ b/connectivity/source/drivers/macab/MacabStatement.cxx
@@ -85,7 +85,6 @@ void MacabCommonStatement::disposing()
void MacabCommonStatement::resetParameters() const throw(::com::sun::star::sdbc::SQLException)
{
- impl_throwError(STR_PARA_ONLY_PREPARED);
}
void MacabCommonStatement::getNextParameter(OUString &) const throw(::com::sun::star::sdbc::SQLException)
@@ -325,9 +324,7 @@ void MacabCommonStatement::selectRecords(MacabResultSet *pResult) const throw(SQ
{
if (SQL_ISRULE(pParseNode, where_clause))
{
- // Since we don't support parameters, don't reset them. If we ever
- // support them, uncomment this line and fix resetParameters.
- //resetParameters();
+ resetParameters();
pParseNode = pParseNode->getChild(1);
MacabCondition *pCondition = analyseWhereClause(pParseNode);
if (pCondition->isAlwaysTrue())