提交 3ce4f024 authored 作者: Thomas Mueller's avatar Thomas Mueller

Documentation

上级 698487c3
...@@ -364,7 +364,8 @@ executed automatically by the system." ...@@ -364,7 +364,8 @@ executed automatically by the system."
SET BINARY_COLLATION SET BINARY_COLLATION
{ UNSIGNED | SIGNED } ] } { UNSIGNED | SIGNED } ] }
"," ","
Sets the collation used for comparing BINARY columns, the default is SIGNED." Sets the collation used for comparing BINARY columns, the default is SIGNED
for version 1."
"Commands (Other)","SET COLLATION"," "Commands (Other)","SET COLLATION","
SET [ DATABASE ] COLLATION SET [ DATABASE ] COLLATION
{ OFF | collationName [ STRENGTH { PRIMARY | SECONDARY | TERTIARY | IDENTICAL } ] } { OFF | collationName [ STRENGTH { PRIMARY | SECONDARY | TERTIARY | IDENTICAL } ] }
......
...@@ -153,7 +153,7 @@ public class ValueArray extends Value { ...@@ -153,7 +153,7 @@ public class ValueArray extends Value {
StatementBuilder buff = new StatementBuilder("("); StatementBuilder buff = new StatementBuilder("(");
for (Value v : values) { for (Value v : values) {
buff.appendExceptFirst(", "); buff.appendExceptFirst(", ");
buff.append(v.getTraceSQL()); buff.append(v == null ? "null" : v.getTraceSQL());
} }
return buff.append(')').toString(); return buff.append(')').toString();
} }
......
...@@ -111,6 +111,7 @@ public class ValueGeometry extends Value { ...@@ -111,6 +111,7 @@ public class ValueGeometry extends Value {
* Get or create a geometry value for the given geometry. * Get or create a geometry value for the given geometry.
* *
* @param s the WKT representation of the geometry * @param s the WKT representation of the geometry
* @param srid the srid of the object
* @return the value * @return the value
*/ */
public static ValueGeometry get(String s, int srid) { public static ValueGeometry get(String s, int srid) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论