summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2017-02-26 19:13:19 +0100
committerJulien Nabet <serval2412@yahoo.fr>2017-02-26 19:08:14 +0000
commite8218371c2fdb8e0828c641aa069ecaa89d649e6 (patch)
treef3118d022969f5a75ea12dcdc19006905787846a /connectivity
parent8828d57dc72514deef8e0df8c4e7f2e90cdce018 (diff)
Cleanup
Following 26843cea83292632b4ed92dfd1b3da9a46c12995 (from 2008!) Change-Id: I09713a6c39994d98dfb82c1ee4cc90b7711e7317 Reviewed-on: https://gerrit.libreoffice.org/34655 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/jdbc/JConnection.cxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/connectivity/source/drivers/jdbc/JConnection.cxx b/connectivity/source/drivers/jdbc/JConnection.cxx
index a93cd4a12202..a2a73889c0d5 100644
--- a/connectivity/source/drivers/jdbc/JConnection.cxx
+++ b/connectivity/source/drivers/jdbc/JConnection.cxx
@@ -659,11 +659,6 @@ namespace
void java_sql_Connection::loadDriverFromProperties( const OUString& _sDriverClass, const OUString& _sDriverClassPath,
const Sequence< NamedValue >& _rSystemProperties )
{
- // contains the statement which should be used when query for automatically generated values
- OUString sGeneratedValueStatement;
- // set to <TRUE/> when we should allow to query for generated values
- bool bAutoRetrievingEnabled = false;
-
// first try if the jdbc driver is already registered at the driver manager
SDBThreadAttach t;
try
@@ -751,9 +746,6 @@ void java_sql_Connection::loadDriverFromProperties( const OUString& _sDriverClas
*this
);
}
-
- enableAutoRetrievingEnabled( bAutoRetrievingEnabled );
- setAutoRetrievingStatement( sGeneratedValueStatement );
}
OUString java_sql_Connection::impl_getJavaDriverClassPath_nothrow(const OUString& _sDriverClass)