!44 [bugfix]fix failed in org.postgresql.test.jdbc2.UpdateableResultTest
Merge pull request !44 from 陈栋/bugfix_4
This commit is contained in:
@ -38,7 +38,7 @@ public class UpdateableResultTest extends BaseTest4 {
|
|||||||
super.setUp();
|
super.setUp();
|
||||||
TestUtil.createTable(con, "updateable",
|
TestUtil.createTable(con, "updateable",
|
||||||
"id int primary key, name text, notselected text, ts timestamp with time zone, intarr int[]",
|
"id int primary key, name text, notselected text, ts timestamp with time zone, intarr int[]",
|
||||||
true);
|
false);
|
||||||
TestUtil.createTable(con, "second", "id1 int primary key, name1 text");
|
TestUtil.createTable(con, "second", "id1 int primary key, name1 text");
|
||||||
TestUtil.createTable(con, "stream", "id int primary key, asi text, chr text, bin bytea");
|
TestUtil.createTable(con, "stream", "id int primary key, asi text, chr text, bin bytea");
|
||||||
TestUtil.createTable(con, "multicol", "id1 int not null, id2 int not null, val text");
|
TestUtil.createTable(con, "multicol", "id1 int not null, id2 int not null, val text");
|
||||||
@ -330,7 +330,7 @@ public class UpdateableResultTest extends BaseTest4 {
|
|||||||
} catch (SQLException ex) {
|
} catch (SQLException ex) {
|
||||||
}
|
}
|
||||||
|
|
||||||
rs = st.executeQuery("select oid,* from updateable");
|
rs = st.executeQuery("select * from updateable");
|
||||||
assertTrue(rs.first());
|
assertTrue(rs.first());
|
||||||
rs.updateInt("id", 3);
|
rs.updateInt("id", 3);
|
||||||
rs.updateString("name", "dave3");
|
rs.updateString("name", "dave3");
|
||||||
|
|||||||
Reference in New Issue
Block a user