Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Executing multiple statements - split on semicolon #358

Closed
g105b opened this issue Oct 11, 2023 · 1 comment · Fixed by #362
Closed

Executing multiple statements - split on semicolon #358

g105b opened this issue Oct 11, 2023 · 1 comment · Fixed by #362
Assignees

Comments

@g105b
Copy link
Member

g105b commented Oct 11, 2023

This will need to be tested using a regex such as /([^;]*?('.*?')?)*?;/g as it's completely fine to have semicolons embedded within strings.

@g105b g105b self-assigned this Oct 11, 2023
@g105b
Copy link
Member Author

g105b commented Oct 11, 2023

Don't use a regex, you fool!

https://github.com/phpmyadmin/sql-parser

g105b added a commit that referenced this issue Oct 11, 2023
@g105b g105b linked a pull request Oct 16, 2023 that will close this issue
@github-project-automation github-project-automation bot moved this to Done October 2023 in Overview Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done October 2023
Development

Successfully merging a pull request may close this issue.

1 participant