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

Formatting

上级 15d42a37
......@@ -890,9 +890,9 @@ public class TestSpatial extends TestBase {
try {
Statement stat = conn.createStatement();
stat.execute("drop table if exists pt_cloud;");
stat.execute("CREATE TABLE PT_CLOUD(id serial, the_geom geometry) AS" +
" SELECT null, CONCAT('POINT(',A.X,' ',B.X,')')::geometry the_geom " +
"from system_range(0,120) A,system_range(0,10) B;");
stat.execute("CREATE TABLE PT_CLOUD(id serial, the_geom geometry) AS " +
"SELECT null, CONCAT('POINT(',A.X,' ',B.X,')')::geometry the_geom " +
"from system_range(0,120) A,system_range(0,10) B;");
stat.execute("create spatial index on pt_cloud(the_geom);");
ResultSet rs = stat.executeQuery(
"explain select * from PT_CLOUD " +
......@@ -910,7 +910,7 @@ public class TestSpatial extends TestBase {
}
deleteDb("spatial");
}
private void testNullableGeometry() throws SQLException {
deleteDb("spatial");
Connection conn = getConnection(url);
......
......@@ -294,7 +294,9 @@ public class TestTempTables extends TestBase {
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 {
deleteDb("tempTables");
......
......@@ -66,7 +66,7 @@ public class TestConcurrent extends TestMVStore {
testConcurrentWrite();
testConcurrentRead();
}
private void testInterruptReopen() throws Exception {
String fileName = "retry:nio:" + getBaseDir() + "/testInterruptReopen.h3";
FileUtils.delete(fileName);
......
......@@ -87,7 +87,7 @@ public class TestMVTableEngine extends TestBase {
testLocking();
testSimple();
}
private void testLobReuse() throws Exception {
deleteDb("testLobReuse");
Connection conn = getConnection("testLobReuse");
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论