提交 5beb58d8 authored 作者: Evgenij Ryazanov's avatar Evgenij Ryazanov

Fix long lines and trailing whitespace

上级 c5fcca01
...@@ -37,7 +37,7 @@ Change Log ...@@ -37,7 +37,7 @@ Change Log
</li> </li>
<li>Issue #1089: Parser does not quote words INTERSECTS, DUAL, TOP <li>Issue #1089: Parser does not quote words INTERSECTS, DUAL, TOP
</li> </li>
<li>Issue #230: Renaming a column does not update foreign key constraint <li>Issue #230: Renaming a column does not update foreign key constraint
</li> </li>
<li>Issue #1091 Get rid if the New class <li>Issue #1091 Get rid if the New class
</li> </li>
...@@ -45,15 +45,15 @@ Change Log ...@@ -45,15 +45,15 @@ Change Log
</li> </li>
<li>Issue #394: Recover tool places COLLATION and BINARY_COLLATION after temporary tables <li>Issue #394: Recover tool places COLLATION and BINARY_COLLATION after temporary tables
</li> </li>
<li>Improve the script-based unit testing to check the error code of the exception thrown. <li>Improve the script-based unit testing to check the error code of the exception thrown.
</li> </li>
<li>Issue #1041: Support OR syntax while creating trigger <li>Issue #1041: Support OR syntax while creating trigger
</li> </li>
<li>Issue #1023: MVCC and existing page store file <li>Issue #1023: MVCC and existing page store file
</li> </li>
<li>Issue #1003: Decrypting database with incorrect password renders the database corrupt <li>Issue #1003: Decrypting database with incorrect password renders the database corrupt
</li> </li>
<li>Issue #873: No error when `=` in equal condition when column is not of array type <li>Issue #873: No error when `=` in equal condition when column is not of array type
</li> </li>
<li>Issue #1069: Failed to add DATETIME(3) column since 1.4.197 <li>Issue #1069: Failed to add DATETIME(3) column since 1.4.197
</li> </li>
......
...@@ -4469,7 +4469,8 @@ public class Parser { ...@@ -4469,7 +4469,8 @@ public class Parser {
if (readIf("(")) { if (readIf("(")) {
originalScale = readPositiveInt(); originalScale = readPositiveInt();
if (originalScale > ValueTime.MAXIMUM_SCALE) { if (originalScale > ValueTime.MAXIMUM_SCALE) {
throw DbException.get(ErrorCode.INVALID_VALUE_SCALE_PRECISION, Integer.toString(originalScale)); throw DbException.get(ErrorCode.INVALID_VALUE_SCALE_PRECISION,
Integer.toString(originalScale));
} }
read(")"); read(")");
scale = originalScale; scale = originalScale;
......
...@@ -88,7 +88,7 @@ public abstract class Page implements Cloneable ...@@ -88,7 +88,7 @@ public abstract class Page implements Cloneable
MEMORY_POINTER + // children MEMORY_POINTER + // children
MEMORY_ARRAY + // Object[] children MEMORY_ARRAY + // Object[] children
8; // totalCount 8; // totalCount
/** /**
* The estimated number of bytes used per empty leaf page. * The estimated number of bytes used per empty leaf page.
*/ */
......
...@@ -649,8 +649,8 @@ public class Recover extends Tool implements DataHandler { ...@@ -649,8 +649,8 @@ public class Recover extends Tool implements DataHandler {
} }
} }
} }
// Have to do these before the tables because settings like COLLATION may affect some of them, // Have to do these before the tables because settings like COLLATION may affect
// and we can't change settings after we have created user tables // some of them, and we can't change settings after we have created user tables
writeSchemaSET(writer); writeSchemaSET(writer);
writer.println("---- Table Data ----"); writer.println("---- Table Data ----");
for (String mapName : mv.getMapNames()) { for (String mapName : mv.getMapNames()) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论