@@ -177,18 +177,6 @@ private DBConnectionImpl(boolean asynTask, boolean sslEnable, boolean compress,
177177 this .lock_ = new ReentrantLock ();
178178 }
179179
180- private DBConnectionImpl (boolean asynTask , boolean sslEnable , boolean compress , boolean python , boolean ifUrgent , SqlStdEnum sqlStd ){
181- sessionID_ = "" ;
182- this .sslEnable_ = sslEnable ;
183- this .asynTask_ = asynTask ;
184- this .compress_ = compress ;
185- this .ifUrgent_ = ifUrgent ;
186- this .python_ = python ;
187- this .isReverseStreaming_ = false ;
188- this .sqlStd_ = sqlStd ;
189- this .lock_ = new ReentrantLock ();
190- }
191-
192180 private boolean connect (String hostName , int port , String userId , String password , int connTimeout ) throws IOException {
193181 this .hostName_ = hostName ;
194182 this .port_ = port ;
@@ -609,23 +597,23 @@ public DBConnection(boolean asynchronousTask, boolean useSSL, boolean compress)
609597 }
610598
611599 public DBConnection (boolean asynchronousTask , boolean useSSL , boolean compress , boolean usePython ){
612- this .conn_ = new DBConnectionImpl (asynchronousTask , useSSL , compress , usePython , false , SqlStdEnum .DolphinDB );
600+ this .conn_ = new DBConnectionImpl (asynchronousTask , useSSL , compress , usePython , false , false , SqlStdEnum .DolphinDB );
613601 this .mutex_ = new ReentrantLock ();
614602 }
615603
616604
617605 public DBConnection (boolean asynchronousTask , boolean useSSL , boolean compress , boolean usePython , SqlStdEnum sqlStd ){
618- this .conn_ = new DBConnectionImpl (asynchronousTask , useSSL , compress , usePython , false , sqlStd );
606+ this .conn_ = new DBConnectionImpl (asynchronousTask , useSSL , compress , usePython , false , false , sqlStd );
619607 this .mutex_ = new ReentrantLock ();
620608 }
621609
622610 public DBConnection (boolean asynchronousTask , boolean useSSL , boolean compress , boolean usePython , boolean isUrgent ){
623- this .conn_ = new DBConnectionImpl (asynchronousTask , useSSL , compress , usePython , isUrgent , SqlStdEnum .DolphinDB );
611+ this .conn_ = new DBConnectionImpl (asynchronousTask , useSSL , compress , usePython , isUrgent , false , SqlStdEnum .DolphinDB );
624612 this .mutex_ = new ReentrantLock ();
625613 }
626614
627615 public DBConnection (boolean asynchronousTask , boolean useSSL , boolean compress , boolean usePython , boolean isUrgent , SqlStdEnum sqlStd ){
628- this .conn_ = new DBConnectionImpl (asynchronousTask , useSSL , compress , usePython , isUrgent , sqlStd );
616+ this .conn_ = new DBConnectionImpl (asynchronousTask , useSSL , compress , usePython , isUrgent , false , sqlStd );
629617 this .mutex_ = new ReentrantLock ();
630618 }
631619
0 commit comments