提交 0d23b081 authored 作者: Thomas Mueller's avatar Thomas Mueller

Formatting

上级 15d42a37
...@@ -890,8 +890,8 @@ public class TestSpatial extends TestBase { ...@@ -890,8 +890,8 @@ public class TestSpatial extends TestBase {
try { try {
Statement stat = conn.createStatement(); Statement stat = conn.createStatement();
stat.execute("drop table if exists pt_cloud;"); stat.execute("drop table if exists pt_cloud;");
stat.execute("CREATE TABLE PT_CLOUD(id serial, the_geom geometry) AS" + stat.execute("CREATE TABLE PT_CLOUD(id serial, the_geom geometry) AS " +
" SELECT null, CONCAT('POINT(',A.X,' ',B.X,')')::geometry the_geom " + "SELECT null, CONCAT('POINT(',A.X,' ',B.X,')')::geometry the_geom " +
"from system_range(0,120) A,system_range(0,10) B;"); "from system_range(0,120) A,system_range(0,10) B;");
stat.execute("create spatial index on pt_cloud(the_geom);"); stat.execute("create spatial index on pt_cloud(the_geom);");
ResultSet rs = stat.executeQuery( ResultSet rs = stat.executeQuery(
......
...@@ -294,7 +294,9 @@ public class TestTempTables extends TestBase { ...@@ -294,7 +294,9 @@ public class TestTempTables extends TestBase {
executeQuery("select * from test_temp"); executeQuery("select * from test_temp");
} }
/** There was a bug where creating lots of tables would overflow the transaction table in the MVStore /**
* There was a bug where creating lots of tables would overflow the
* transaction table in the MVStore
*/ */
private void testLotsOfTables() throws SQLException { private void testLotsOfTables() throws SQLException {
deleteDb("tempTables"); deleteDb("tempTables");
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论