-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Object names are always introspected as unquoted #5776
Labels
Comments
It would be correct to mark all introspected object names as quoted on all platforms. Whether the name is quoted or not doesn't make a difference on most of the platforms. On Oracle and IBM DB2, the quoted name will naturally preserve the actual upper/lower case of the object as it exists in the actual database. But the side effects of that on existing code are unknown. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Consider the following code snippet:
The original table definition wraps the table name in quotes which suggests the DBAL that the name should be quoted in SQL. When the table is introspected, the
$quoted
property of the table is not initialized, so all subsequent operations on the table name will result in invalid SQL.The text was updated successfully, but these errors were encountered: