Skip to content

MDEV-24702 Add CHARINDEX as alias for LOCATE - #6149

Open
shaurya212121 wants to merge 1 commit into
MariaDB:11.4from
shaurya212121:mdev-24702-charindex
Open

shaurya212121 wants to merge 1 commit into
MariaDB:11.4from
shaurya212121:mdev-24702-charindex

Conversation

@shaurya212121

Copy link
Copy Markdown

Adds CHARINDEX as a native function alias to LOCATE for MSSQL compatibility (MDEV-24702). Both share the same arguments and return values.

Added test cases in func_str.test, including under sql_mode='MSSQL'.

Add CHARINDEX as a native alias for LOCATE for MSSQL compatibility and add tests in func_str.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant