提交 f24ff527 authored 作者: Max Englander's avatar Max Englander

enum-support: fix NPE with Column copy

上级 36e6d3b4
...@@ -794,7 +794,8 @@ public class Column { ...@@ -794,7 +794,8 @@ public class Column {
displaySize = source.displaySize; displaySize = source.displaySize;
name = source.name; name = source.name;
precision = source.precision; precision = source.precision;
enumerators = Arrays.copyOf(source.enumerators, source.enumerators.length); enumerators = source.enumerators == null ? null :
Arrays.copyOf(source.enumerators, source.enumerators.length);
scale = source.scale; scale = source.scale;
// table is not set // table is not set
// columnId is not set // columnId is not set
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论