File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
java/jdbc/src/main/java/io/vitess/jdbc Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -756,13 +756,13 @@ private String initializeDBProperties() throws SQLException {
756756
757757 try (VitessStatement vitessStatement = new VitessStatement (
758758 this ); ResultSet resultSet = vitessStatement .executeQuery (
759- "SHOW VARIABLES WHERE VARIABLE_NAME IN (\' tx_isolation \' ,\' INNODB_VERSION\' , "
759+ "SHOW VARIABLES WHERE VARIABLE_NAME IN (\' transaction_isolation \' ,\' INNODB_VERSION\' , "
760760 + "\' lower_case_table_names\' )" )) {
761761 while (resultSet .next ()) {
762762 dbVariables .put (resultSet .getString (1 ), resultSet .getString (2 ));
763763 }
764764 versionValue = dbVariables .get ("innodb_version" );
765- String transactionIsolation = dbVariables .get ("tx_isolation " );
765+ String transactionIsolation = dbVariables .get ("transaction_isolation " );
766766 String lowerCaseTables = dbVariables .get ("lower_case_table_names" );
767767 String productVersion = "" ;
768768 String majorVersion = "" ;
You can’t perform that action at this time.
0 commit comments