aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTing-Wei Lan <tingwei.lan@cobinhood.com>2019-02-27 16:57:57 +0800
committerJhih-Ming Huang <jm.huang@cobinhood.com>2019-03-26 17:48:22 +0800
commitd8b728eeac88b0672df0d999a6c93c67ee2705a3 (patch)
treea1e78ef61bb08357de6fd243c65d003086ecbb26
parent554abce08b89be6b35e71e97e9935280f0296097 (diff)
downloaddexon-d8b728eeac88b0672df0d999a6c93c67ee2705a3.tar.gz
dexon-d8b728eeac88b0672df0d999a6c93c67ee2705a3.tar.zst
dexon-d8b728eeac88b0672df0d999a6c93c67ee2705a3.zip
core: vm: sqlvm: errors: fix typo
-rw-r--r--core/vm/sqlvm/errors/errors.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/vm/sqlvm/errors/errors.go b/core/vm/sqlvm/errors/errors.go
index f8c23f554..886f3beb7 100644
--- a/core/vm/sqlvm/errors/errors.go
+++ b/core/vm/sqlvm/errors/errors.go
@@ -60,7 +60,7 @@ type ErrorCategory uint16
// Error category starts from 1. Zero value is invalid.
const (
- ErrorCategorNil ErrorCategory = iota
+ ErrorCategoryNil ErrorCategory = iota
ErrorCategoryGrammar
ErrorCategorySemantic
ErrorCategoryRuntime