提交 7fe0ab03 authored 作者: Thomas Mueller's avatar Thomas Mueller

Data types.

上级 42afda4b
...@@ -39,7 +39,6 @@ import org.h2.util.JdbcUtils; ...@@ -39,7 +39,6 @@ import org.h2.util.JdbcUtils;
import org.h2.util.New; import org.h2.util.New;
import org.h2.util.StatementBuilder; import org.h2.util.StatementBuilder;
import org.h2.util.StringUtils; import org.h2.util.StringUtils;
import org.h2.value.DataType;
/** /**
* This class implements the native full text search. * This class implements the native full text search.
...@@ -368,7 +367,7 @@ public class FullText { ...@@ -368,7 +367,7 @@ public class FullText {
} }
switch (type) { switch (type) {
case Types.BIT: case Types.BIT:
case DataType.TYPE_BOOLEAN: case Types.BOOLEAN:
case Types.INTEGER: case Types.INTEGER:
case Types.BIGINT: case Types.BIGINT:
case Types.DECIMAL: case Types.DECIMAL:
...@@ -404,7 +403,7 @@ public class FullText { ...@@ -404,7 +403,7 @@ public class FullText {
case Types.REF: case Types.REF:
case Types.NULL: case Types.NULL:
case Types.ARRAY: case Types.ARRAY:
case DataType.TYPE_DATALINK: case Types.DATALINK:
case Types.DISTINCT: case Types.DISTINCT:
throw throwException("Unsupported column data type: " + type); throw throwException("Unsupported column data type: " + type);
default: default:
...@@ -470,7 +469,7 @@ public class FullText { ...@@ -470,7 +469,7 @@ public class FullText {
} }
switch (type) { switch (type) {
case Types.BIT: case Types.BIT:
case DataType.TYPE_BOOLEAN: case Types.BOOLEAN:
case Types.INTEGER: case Types.INTEGER:
case Types.BIGINT: case Types.BIGINT:
case Types.DECIMAL: case Types.DECIMAL:
...@@ -500,7 +499,7 @@ public class FullText { ...@@ -500,7 +499,7 @@ public class FullText {
case Types.REF: case Types.REF:
case Types.NULL: case Types.NULL:
case Types.ARRAY: case Types.ARRAY:
case DataType.TYPE_DATALINK: case Types.DATALINK:
case Types.DISTINCT: case Types.DISTINCT:
throw throwException("Unsupported key data type: " + type); throw throwException("Unsupported key data type: " + type);
default: default:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论