#1045: Escape FULLTEXT key word for MySQL
-----------------------------+--------------------------------------------- -
Reporter: cferry | Owner: romanb
Type: defect | Status: new
Priority: minor | Milestone: 0.11.0
Component: Query/Hydration | Version: 0.10
Keywords: |
-----------------------------+--------------------------------------------- -
Hi !
I have a column named fulltext, in my Doctrine_Record I have : {{{
$this->hasColumn('fulltext', 'string', 65000); }}}[[BR]]
But when i try to insert/update i got an error, because doctrine doesn't
escape the column name with ` (back quote).[[BR]]
I think you need escape evry column name with back quotes.
Hope you will correct this problem soon.
Regards
Cédric Ferry
www.emisfr.com
version : Doctrine 10.2
--
Ticket URL: <http://trac.phpdoctrine.org/ticket/1045>
Doctrine <http://www.phpdoctrine.org>
PHP Doctrine Object Relational Mapper