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

mysql does not work with tablenames in doublequota #95

Closed
marlis opened this issue Mar 1, 2013 · 1 comment
Closed

mysql does not work with tablenames in doublequota #95

marlis opened this issue Mar 1, 2013 · 1 comment

Comments

@marlis
Copy link

marlis commented Mar 1, 2013

Branch 0.2 for SS 2.4
the file "/code/editor/FieldEditor.php" contains SQL-Statements that use as wrapping for tablenames the double quota (") e.g. line 182, line 214.
My installation with mysql (Server Version 5.5.19) does not accept these double quota.
I have to use nothing or the back quote (`) as wrapper to get it work.
Other details: IIS 7.5, PHP 5.3.8

@wilr
Copy link
Member

wilr commented Sep 7, 2013

Unlikely to go back and rewrite old code for older systems to use DB::USE_ANSI_SQL. Patches welcome but I suggest running ANSI mode on your database so you do not need to use back ticks (which is now no longer recommended) or submit a patch after checking each SQL statement.

@wilr wilr closed this as completed Sep 7, 2013
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

No branches or pull requests

2 participants