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
Fields are not quoted during Insert for Mysql #518
Comments
I think it's related to #323 |
Have you tried to enable |
Closing due to no response and no confirmation of a bug. |
mpscholten
pushed a commit
to mpscholten/Propel2
that referenced
this issue
Aug 24, 2014
…m#262. Fixed bug: crossTable with at least one FK with multiple local columns Fixed bug: crossTable with more than two FKs Fixed bug: crossTable with two PK-FK and one PK-nonFK Fixed bug: crossTable: setRelations(Collection), removeRelation($rel), save() doesn’t remove $rel. Added Partial-checking also to CrossFK getter. Fixed bug: wrong "if ($obj->isNew())” check in getRelation() methods. Improved performance of hashCode. Improved ObjectCollection checks Modified clearAllReferences as in PHP 5.4 there's no workaround like that necessary anymore. Fixed internal object relation reference tracking, especially unlinking back-references. Added also the table rename fix for propelorm#477, so we do not rename tables anymore. This was necessary because otherwise with this new incoming tests for relations the test suite won't be green.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In one of my table, I've got a field named 'regexp' (I know, it's bad).
As REGEXP is a reserved word in Mysql, Insert queries failed.
Apparently fields aren't backticked during insert.
The text was updated successfully, but these errors were encountered: