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
create procedure statement panic on multiple situations (valid and invalid procedure queries) where mysql allows but gives error when calling invalid procedures.
This is valid query:
complex> CREATE PROCEDURE `film_in_stock`(OUT p_film_count INT) READS SQL DATA SELECT COUNT(*) FROM inventory WHERE film_id = p_film_id AND store_id = p_store_id AND inventory_in_stock(inventory_id);
panic: unresolved function is a placeholder node, but Type was called
goroutine 1 [running]:
github.com/dolthub/go-mysql-server/sql/expression.(*UnresolvedFunction).Type(0xc000066500)
/Users/jenniferpurevsuren/go/pkg/mod/github.com/dolthub/go-mysql-server@v0.11.1-0.20220414185653-a3dbb75c3de8/sql/expression/unresolved.go:260 +0x27
github.com/dolthub/go-mysql-server/sql/analyzer.fds({0x2c0d6a8?, 0xc0000b7580?})
/Users/jenniferpurevsuren/go/pkg/mod/github.com/dolthub/go-mysql-server@v0.11.1-0.20220414185653-a3dbb75c3de8/sql/analyzer/validation_rules.go:846 +0x52
github.com/dolthub/go-mysql-server/sql/analyzer.logicalSem({{0x2c0cb18?, 0xc000c00280?}, {0x2c0d6a8?, 0xc0000b7580?}})
The text was updated successfully, but these errors were encountered:
create procedure statement panic on multiple situations (valid and invalid procedure queries) where mysql allows but gives error when calling invalid procedures.
This is valid query:
invalid but allowed on mysql:
The text was updated successfully, but these errors were encountered: