summaryrefslogtreecommitdiff
path: root/mysqlc
diff options
context:
space:
mode:
Diffstat (limited to 'mysqlc')
-rw-r--r--mysqlc/source/mysqlc_statement.cxx4
-rw-r--r--mysqlc/source/mysqlc_statement.hxx3
2 files changed, 1 insertions, 6 deletions
diff --git a/mysqlc/source/mysqlc_statement.cxx b/mysqlc/source/mysqlc_statement.cxx
index 20d90e28024b..3a082004831a 100644
--- a/mysqlc/source/mysqlc_statement.cxx
+++ b/mysqlc/source/mysqlc_statement.cxx
@@ -187,12 +187,10 @@ Any SAL_CALL OStatement::queryInterface(const Type & rType)
return aRet;
}
-void SAL_CALL OStatement::addBatch(const rtl::OUString& sql)
+void SAL_CALL OStatement::addBatch(const rtl::OUString&)
{
MutexGuard aGuard(m_aMutex);
checkDisposed(rBHelper.bDisposed);
-
- m_aBatchVector.push_back(sql);
}
Sequence< sal_Int32 > SAL_CALL OStatement::executeBatch()
diff --git a/mysqlc/source/mysqlc_statement.hxx b/mysqlc/source/mysqlc_statement.hxx
index b7357d27ecb7..61d69e824dd7 100644
--- a/mysqlc/source/mysqlc_statement.hxx
+++ b/mysqlc/source/mysqlc_statement.hxx
@@ -34,7 +34,6 @@
#include <cppconn/statement.h>
#include <cppuhelper/compbase5.hxx>
-#include <vector>
namespace connectivity
{
@@ -71,8 +70,6 @@ namespace connectivity
SQLWarning m_aLastWarning;
protected:
- ::std::vector< rtl::OUString> m_aBatchVector;
-
OConnection* m_pConnection; // The owning Connection object
sql::Statement *cppStatement;