提交 c5ab89c7 authored 作者: noelgrandin's avatar noelgrandin

the field "roundWhenConvertToLong" is currently unused. Remove it.

上级 2d0ac7f7
...@@ -68,12 +68,6 @@ public class Mode { ...@@ -68,12 +68,6 @@ public class Mode {
*/ */
public boolean nullConcatIsNull; public boolean nullConcatIsNull;
/**
* When converting a floating point number to an integer, the fractional
* digits are not truncated, but the value is rounded.
*/
public boolean roundWhenConvertToLong;
/** /**
* Identifiers may be quoted using square brackets as in [Test]. * Identifiers may be quoted using square brackets as in [Test].
*/ */
...@@ -158,7 +152,6 @@ public class Mode { ...@@ -158,7 +152,6 @@ public class Mode {
mode.convertInsertNullToZero = true; mode.convertInsertNullToZero = true;
mode.indexDefinitionInCreateTable = true; mode.indexDefinitionInCreateTable = true;
mode.lowerCaseIdentifiers = true; mode.lowerCaseIdentifiers = true;
mode.roundWhenConvertToLong = true;
add(mode); add(mode);
mode = new Mode("Oracle"); mode = new Mode("Oracle");
...@@ -169,7 +162,6 @@ public class Mode { ...@@ -169,7 +162,6 @@ public class Mode {
mode = new Mode("PostgreSQL"); mode = new Mode("PostgreSQL");
mode.aliasColumnName = true; mode.aliasColumnName = true;
mode.nullConcatIsNull = true; mode.nullConcatIsNull = true;
mode.roundWhenConvertToLong = true;
mode.supportOffsetFetch = true; mode.supportOffsetFetch = true;
mode.systemColumns = true; mode.systemColumns = true;
mode.logIsLogBase10 = true; mode.logIsLogBase10 = true;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论