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.

Substring function is not parsed correctly #532

Closed
@theodesp

Description

@theodesp

I'm trying to implement #483 but it looks like we broke substring. The unit tests run fine but when we login into a console it doesn't work.

mysql> select SUBSTRING("foo", 2, 2);
ERROR 1105 (HY000): unknown error: syntax error at position 23 near 'foo'
mysql> select substring("foobar", 1, 2);
ERROR 1105 (HY000): unknown error: syntax error at position 26 near 'foobar'
mysql> select SUBSTRING("foo", 1, 2);
ERROR 1105 (HY000): unknown error: syntax error at position 23 near 'foo'

Metadata

Metadata

Assignees

Labels

3rd-partyThird party compatibilitybugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions