[TYPO3-dev] t3lib_TCEmain: quotes around column names

Dmitry Dulepov dmitry.dulepov at gmail.com
Wed Jun 10 09:01:55 CEST 2009


Hi!

Christian Kartnig wrote:
> I came across an issue with copying records in t3lib_TCEmain: An
> extension uses the reserved keyword 'sql' as a column name, which throws
> an sql error when copying records in the list module (with mySQL5).
> 
> Maybe it would be a good idea to quote all column names with backticks
> to avoid such problems. What do you think?

I think it is better not to use reserved keywords...

-- 
Dmitry Dulepov
In the TYPO3 blog: http://dmitry-dulepov.com/article/macintosh-vs-hackintosh.html
LinkedIn: http://www.linkedin.com/in/dmitrydulepov
Twitter: http://twitter.com/dmitryd
Skype: liels_bugs




More information about the TYPO3-dev mailing list