Skip to content
This repository was archived by the owner on Jan 28, 2021. It is now read-only.
This repository was archived by the owner on Jan 28, 2021. It is now read-only.

Support negative integers in expressions #444

Closed
@theodesp

Description

@theodesp

Currently, any operation that involves negative numbers fail. For example:

mysql> SELECT CEIL(-1.23);
ERROR 1105 (HY000): unknown error: unsupported syntax: &sqlparser.UnaryExpr{Operator:"-", Expr:(*sqlparser.SQLVal)(0xc4203cfc60)}
mysql> SELECT FLOOR(-1.23);
ERROR 1105 (HY000): unknown error: unsupported syntax: &sqlparser.UnaryExpr{Operator:"-", Expr:(*sqlparser.SQLVal)(0xc4203cfde0)}

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions