Index: ../../Sourcecode/Mysql/mysql-connector-java-5.1.6/src/com/mysql/jdbc/ConnectionImpl.java =================================================================== --- ../../Sourcecode/Mysql/mysql-connector-java-5.1.6/src/com/mysql/jdbc/ConnectionImpl.java Fri Oct 10 08:28:30 CEST 2008 +++ ../../Sourcecode/Mysql/mysql-connector-java-5.1.6/src/com/mysql/jdbc/ConnectionImpl.java Fri Oct 10 08:28:30 CEST 2008 @@ -3508,7 +3508,7 @@ setupServerForTruncationChecks(); } - private int getServerVariableAsInt(String variableName, int fallbackValue) + int getServerVariableAsInt(String variableName, int fallbackValue) throws SQLException { try { return Integer.parseInt((String) this.serverVariables @@ -3771,7 +3771,8 @@ + " OR Variable_name = 'sql_mode'" + " OR Variable_name = 'query_cache_type'" + " OR Variable_name = 'query_cache_size'" - + " OR Variable_name = 'init_connect'"; + + " OR Variable_name = 'init_connect'" + + " OR Variable_name = 'auto_increment_increment'"; } results = stmt.executeQuery(query);