summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2015-01-31 17:01:15 +0100
committerLionel Elie Mamane <lionel@mamane.lu>2015-01-31 17:02:31 +0100
commitd2a6d6a1a05337dbb733a9a3d4926a5c6d6cd8cd (patch)
tree6a01ef424e4506afc3420be7a023e806762bb6ca /connectivity
parent602f5010bc41f71d29695a348d56b6d953865c2f (diff)
tdf#88814 parameters are kinda-partially supported, so follow the suggestion
Change-Id: I1a39378d521f128e6b8f35a0bce781435f94e5a8
Diffstat (limited to 'connectivity')
-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 f807b5b4fa23..2de3f3f74c25 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())