Skip to content

Trim trailing semicolon before executing query #2344

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

Conversation

Yopai
Copy link
Contributor

@Yopai Yopai commented Mar 1, 2025

Closes #2340

(Currently writing an OCI Adapter)
OCI doesn't allow a trailing semicolon.

Still output the semicolon, so that output can be easily copy/pasted

@Yopai Yopai changed the title #2340 - Remove trailing semicolon from query Draft: #2340 - Remove trailing semicolon from query Mar 1, 2025
@Yopai Yopai force-pushed the pdoadapter/2340-rm-trailing-semicolon branch from b942cd5 to 6a043eb Compare March 1, 2025 11:34
Yopai added 2 commits March 1, 2025 12:44
(Currently writing an OCI Adapter)
OCI doesn't allow a trailing semicolon.
There can be a problem

Still output the semicolon, so that output can be easily copy/pasted
@Yopai Yopai force-pushed the pdoadapter/2340-rm-trailing-semicolon branch from 6a043eb to e2c4d11 Compare March 1, 2025 13:04
@Yopai Yopai changed the title Draft: #2340 - Remove trailing semicolon from query #2340 - Remove trailing semicolon from query Mar 1, 2025
@MasterOdin MasterOdin changed the title #2340 - Remove trailing semicolon from query Trim trailing semicolon before executing query Mar 1, 2025
Copy link
Member

@MasterOdin MasterOdin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR!

@MasterOdin MasterOdin merged commit 93b8856 into cakephp:0.x Mar 1, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove ';' in generated query
2 participants