diff options
author | wmin0 <wmin0@cobinhood.com> | 2019-04-08 17:39:37 +0800 |
---|---|---|
committer | Jhih-Ming Huang <jm.huang@cobinhood.com> | 2019-05-06 10:44:04 +0800 |
commit | 8982bd5baac2651f54eebe8e5d1f969f9731636c (patch) | |
tree | 44554b190abb3e547b20a0790321f291b60663df | |
parent | f0a7aec8c783761bd8b7d6bc38053daa73ad14d9 (diff) | |
download | dexon-8982bd5baac2651f54eebe8e5d1f969f9731636c.tar.gz dexon-8982bd5baac2651f54eebe8e5d1f969f9731636c.tar.zst dexon-8982bd5baac2651f54eebe8e5d1f969f9731636c.zip |
core: vm: sqlvm: ast: fix unsigned get type error code
-rw-r--r-- | core/vm/sqlvm/ast/ast.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/vm/sqlvm/ast/ast.go b/core/vm/sqlvm/ast/ast.go index a2f0748f5..8071fbe19 100644 --- a/core/vm/sqlvm/ast/ast.go +++ b/core/vm/sqlvm/ast/ast.go @@ -401,7 +401,7 @@ func (n *FixedTypeNode) GetType() (DataType, errors.ErrorCode, string) { code := errors.ErrorCodeInvalidFixedSize if n.Unsigned { name = "ufixed" - code = errors.ErrorCodeInvalidFixedSize + code = errors.ErrorCodeInvalidUfixedSize } if !sizeIsMultiple { return DataTypeBad, code, fmt.Sprintf( |