提交 48690027 authored 作者: Thomas Mueller's avatar Thomas Mueller

Cleanup.

上级 86fba974
...@@ -280,7 +280,8 @@ public class TestPgServer extends TestBase { ...@@ -280,7 +280,8 @@ public class TestPgServer extends TestBase {
Connection conn = DriverManager.getConnection("jdbc:postgresql://localhost:5535/test", "sa", "sa"); Connection conn = DriverManager.getConnection("jdbc:postgresql://localhost:5535/test", "sa", "sa");
Statement stat = conn.createStatement(); Statement stat = conn.createStatement();
// confirm that we've got the in memory implementation by creating a table and checking flags // confirm that we've got the in memory implementation
// by creating a table and checking flags
stat.execute("create table test(id int primary key, name varchar)"); stat.execute("create table test(id int primary key, name varchar)");
ResultSet rs = stat.executeQuery("select storage_type from information_schema.tables where table_name = 'TEST'"); ResultSet rs = stat.executeQuery("select storage_type from information_schema.tables where table_name = 'TEST'");
assertTrue(rs.next()); assertTrue(rs.next());
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论