diff options
-rw-r--r-- | core/vm/sqlvm/schema/schema.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/vm/sqlvm/schema/schema.go b/core/vm/sqlvm/schema/schema.go index 56b0be49a..2937d3660 100644 --- a/core/vm/sqlvm/schema/schema.go +++ b/core/vm/sqlvm/schema/schema.go @@ -161,9 +161,11 @@ type column struct { ForeignTable TableRef ForeignColumn ColumnRef Sequence SequenceRef - Rest interface{} SlotOffset uint8 ByteOffset uint8 + // 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{} } // Column defines sqlvm index struct. |