提交 46dc1deb authored 作者: Thomas Mueller's avatar Thomas Mueller

Issue 584: the error message for a wrong sequence definition was wrong.

上级 820b1655
...@@ -17,7 +17,8 @@ Change Log ...@@ -17,7 +17,8 @@ Change Log
<h1>Change Log</h1> <h1>Change Log</h1>
<h2>Next Version (unreleased)</h2> <h2>Next Version (unreleased)</h2>
<ul><li>CSV tool: the rowSeparator option is no longer supported, <ul><li>Issue 584: the error message for a wrong sequence definition was wrong.
</li><li>CSV tool: the rowSeparator option is no longer supported,
as the same can be achieved with the lineSeparator. as the same can be achieved with the lineSeparator.
</li><li>Descending indexes on MVStore tables did not work properly. </li><li>Descending indexes on MVStore tables did not work properly.
</li><li>Issue 579: Conditions on the "_rowid_" pseudo-column didn't use an index </li><li>Issue 579: Conditions on the "_rowid_" pseudo-column didn't use an index
......
...@@ -117,10 +117,10 @@ public class Sequence extends SchemaObjectBase { ...@@ -117,10 +117,10 @@ public class Sequence extends SchemaObjectBase {
} }
if (!isValid(startValue, minValue, maxValue, increment)) { if (!isValid(startValue, minValue, maxValue, increment)) {
throw DbException.get(ErrorCode.SEQUENCE_ATTRIBUTES_INVALID, throw DbException.get(ErrorCode.SEQUENCE_ATTRIBUTES_INVALID,
getName(), String.valueOf(this.value), getName(), String.valueOf(startValue),
String.valueOf(this.minValue), String.valueOf(minValue),
String.valueOf(this.maxValue), String.valueOf(maxValue),
String.valueOf(this.increment)); String.valueOf(increment));
} }
this.value = startValue; this.value = startValue;
this.valueWithMargin = startValue; this.valueWithMargin = startValue;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论