aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwmin0 <wmin0@cobinhood.com>2019-04-08 17:41:35 +0800
committerJhih-Ming Huang <jm.huang@cobinhood.com>2019-05-06 10:44:04 +0800
commit400f81ab9892fd7669c54967c7a64470ae5ae7d5 (patch)
treeb3aeee4d9cf618a0591ff0947246e11590dff437
parent8982bd5baac2651f54eebe8e5d1f969f9731636c (diff)
downloaddexon-400f81ab9892fd7669c54967c7a64470ae5ae7d5.tar
dexon-400f81ab9892fd7669c54967c7a64470ae5ae7d5.tar.gz
dexon-400f81ab9892fd7669c54967c7a64470ae5ae7d5.tar.bz2
dexon-400f81ab9892fd7669c54967c7a64470ae5ae7d5.tar.lz
dexon-400f81ab9892fd7669c54967c7a64470ae5ae7d5.tar.xz
dexon-400f81ab9892fd7669c54967c7a64470ae5ae7d5.tar.zst
dexon-400f81ab9892fd7669c54967c7a64470ae5ae7d5.zip
core: vm: sqlvm: schema: column rlp does not contain offset fields
-rw-r--r--core/vm/sqlvm/schema/schema.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/vm/sqlvm/schema/schema.go b/core/vm/sqlvm/schema/schema.go
index 708bbf672..1ebb96fa3 100644
--- a/core/vm/sqlvm/schema/schema.go
+++ b/core/vm/sqlvm/schema/schema.go
@@ -163,8 +163,8 @@ type column struct {
Attr ColumnAttr
ForeignKeys []ColumnDescriptor
Sequence SequenceRef
- SlotOffset uint8
- ByteOffset uint8
+ SlotOffset uint8 `rlp:"-"`
+ ByteOffset uint8 `rlp:"-"`
// Rest is a special field reserved for use in EncodeRLP. The value stored
// in it will be overwritten every time EncodeRLP is called.
Rest interface{}