提交 5db12c5a authored 作者: Noel Grandin's avatar Noel Grandin

fix unit test failure caused by removal of TIMESTAMP UTC

上级 b3df861d
......@@ -76,6 +76,11 @@ public class TestValueMemory extends TestBase implements DataHandler {
public void test() throws SQLException {
testCompare();
for (int i = 0; i < Value.TYPE_COUNT; i++) {
if (i == 23) {
// this used to be "TIMESTAMP UTC", which was a short-lived
// experiment
continue;
}
Value v = create(i);
String s = "type: " + v.getType() +
" calculated: " + v.getMemory() +
......@@ -84,6 +89,11 @@ public class TestValueMemory extends TestBase implements DataHandler {
trace(s);
}
for (int i = 0; i < Value.TYPE_COUNT; i++) {
if (i == 23) {
// this used to be "TIMESTAMP UTC", which was a short-lived
// experiment
continue;
}
Value v = create(i);
if (v == ValueNull.INSTANCE && i == Value.GEOMETRY) {
// jts not in the classpath, OK
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论