提交 67310c61 authored 作者: Noel Grandin's avatar Noel Grandin 提交者: GitHub

Merge pull request #579 from httpdigest/master

Disallow BLOB type in PostgreSQL mode
......@@ -282,6 +282,7 @@ public class Mode {
disallowedTypes.add("NUMBER");
disallowedTypes.add("IDENTITY");
disallowedTypes.add("TINYINT");
disallowedTypes.add("BLOB");
mode.disallowedTypes = disallowedTypes;
add(mode);
......
......@@ -278,7 +278,7 @@ public class TestCompatibility extends TestBase {
/* --------- Disallowed column types --------- */
String[] DISALLOWED_TYPES = {"NUMBER", "IDENTITY", "TINYINT"};
String[] DISALLOWED_TYPES = {"NUMBER", "IDENTITY", "TINYINT", "BLOB"};
for (String type : DISALLOWED_TYPES) {
stat.execute("DROP TABLE IF EXISTS TEST");
try {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论