-
-
Notifications
You must be signed in to change notification settings - Fork 36
[2.x] Replace incorrect working quoteNameStr method #328
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
|
The change of the When you call the old, unmodified, deprecated method with the following array as argument you get with MySQL names quotes: With this PR you get: The same applies with other names quotes (PostgreSQL, MS SQL Server). The first array element with the dot is quoted differently. The second array element shows the fix for the issue. The last array element shows the difference when null. If that b/c break is a problem, I suggest following different implementation: Mind the 2nd parameter of the My suggested code gives following result for the example array: The same applies when using PostgreSQL or MS SQL Server names quotes: With both ways the issue would be fixed, but with this PR the first array element with the dot is quoted differently. You can test that here: https://onlinephp.io/c/26575 |
Co-authored-by: Richard Fath <richard67@users.noreply.github.com>
|
thanks richard |
|
@SniperSister @ramalama Could you check this PR again? Thanks in advance. |
Pull Request for Issue #327