import testsuite.BaseTestCase; import java.sql.CallableStatement; import java.sql.Connection; import com.mysql.jdbc.Driver; import java.util.Properties; public class bug29720_1 extends BaseTestCase { public bug29720_1(String name) { super(name); } public static void main(String[] args) { junit.textui.TestRunner.run(bug29720_1.class); } public void testBug29720_1() throws Exception { try { this.stmt.executeUpdate("DROP TABLE if exists temp1"); this.stmt.executeUpdate("CREATE TABLE temp1(id int auto_increment primary key, value INT)"); int insertCount = this.stmt.executeUpdate("INSERT INTO temp1 SET Value=54"); //assertTrue("Wrong insert count", 1 == insertCount); this.stmt.getGeneratedKeys(); } finally { closeMemberJDBCResources(); } } }