提交 e15c3f15 authored 作者: Piotr Dubrovskiy's avatar Piotr Dubrovskiy

fix reading enum values for MVStore. Case for read was missed in commit…

fix reading enum values for MVStore. Case for read was missed in commit eb396945
上级 92176172
...@@ -464,6 +464,7 @@ public class ValueDataType implements DataType { ...@@ -464,6 +464,7 @@ public class ValueDataType implements DataType {
return ValueBoolean.get(false); return ValueBoolean.get(false);
case INT_NEG: case INT_NEG:
return ValueInt.get(-readVarInt(buff)); return ValueInt.get(-readVarInt(buff));
case Value.ENUM:
case Value.INT: case Value.INT:
return ValueInt.get(readVarInt(buff)); return ValueInt.get(readVarInt(buff));
case LONG_NEG: case LONG_NEG:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论