[Libreoffice-commits] core.git: connectivity/source

Julien Nabet serval2412 at yahoo.fr
Sun Feb 26 19:08:41 UTC 2017


 connectivity/source/drivers/jdbc/JConnection.cxx |    8 --------
 1 file changed, 8 deletions(-)

New commits:
commit e8218371c2fdb8e0828c641aa069ecaa89d649e6
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sun Feb 26 19:13:19 2017 +0100

    Cleanup
    
    Following 26843cea83292632b4ed92dfd1b3da9a46c12995 (from 2008!)
    
    Change-Id: I09713a6c39994d98dfb82c1ee4cc90b7711e7317
    Reviewed-on: https://gerrit.libreoffice.org/34655
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
    Tested-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/connectivity/source/drivers/jdbc/JConnection.cxx b/connectivity/source/drivers/jdbc/JConnection.cxx
index a93cd4a..a2a7388 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)


More information about the Libreoffice-commits mailing list