aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/vm/sqlvm/ast/ast.go2
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(