diff options
author | Meng-Ying Yang <garfield@dexon.org> | 2019-05-09 11:19:50 +0800 |
---|---|---|
committer | Meng-Ying Yang <garfield@dexon.org> | 2019-05-09 15:15:23 +0800 |
commit | 278f4f58b53a34e5c886720449b58dc2ca8842bc (patch) | |
tree | e9d5dd0dd83bfe46e79b1ec348b38c5d2950d6c3 | |
parent | bf103451425a0f7a986ff6dd1e2b7d1e478bd948 (diff) | |
download | dexon-278f4f58b53a34e5c886720449b58dc2ca8842bc.tar.gz dexon-278f4f58b53a34e5c886720449b58dc2ca8842bc.tar.zst dexon-278f4f58b53a34e5c886720449b58dc2ca8842bc.zip |
core: vm: sqlvm: fix untyped enum
-rw-r--r-- | core/vm/sqlvm/runtime/opcodes.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/vm/sqlvm/runtime/opcodes.go b/core/vm/sqlvm/runtime/opcodes.go index e65565670..cd884350a 100644 --- a/core/vm/sqlvm/runtime/opcodes.go +++ b/core/vm/sqlvm/runtime/opcodes.go @@ -53,12 +53,12 @@ const ( // 0x50 range - function ops const ( - FUNC = iota + 0x50 + FUNC OpCode = iota + 0x50 ) // 0x60 range - storage ops const ( - INSERT = iota + 0x60 + INSERT OpCode = iota + 0x60 UPDATE LOAD DELETE |