You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dolt is panicing on a bad query where the case of HEX makes a difference.:
Dolt Behavior:
foo> create table t (b binary(2) primary key);
foo> select hex(*) from t;
a '*' is in a context where it is not allowed.
foo> select HEX(*) from t;
panic: star is just a placeholder node, but IsNullable was called [recovered]
panic: star is just a placeholder node, but IsNullable was called
goroutine 1 [running]:
github.com/dolthub/go-mysql-server/sql/planbuilder.(*Builder).Parse.func1()
/Users/neil/Documents/go-mysql-server/sql/planbuilder/parse.go:127 +0xa4
panic({0x1064f4ea0, 0x10695d860})
/usr/local/go/src/runtime/panic.go:884 +0x1f4
MySQL Behavior:
mysql> create table t (b binary(2) primary key);
Query OK, 0 rows affected (0.01 sec)
mysql> select hex(*) from t;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '*) from t' at line 1
mysql> select HEX(*) from t;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '*) from t' at line 1
The text was updated successfully, but these errors were encountered:
Dolt is panicing on a bad query where the case of
HEX
makes a difference.:Dolt Behavior:
MySQL Behavior:
The text was updated successfully, but these errors were encountered: