Bug0031

Description
Better checking for use of reserved names

When you create a preset log driver (for example), pyflag should check none of the below are used: http://dev.mysql.com/doc/refman/5.0/en/reserved-words.html

SQL errors occur.

Attach backtrace here.
Logged
2007-05-11
Logged By

AlanLeigh

Assigned to
Status
Closed

Get back to the BugIndex


There is nothing wrong with using reserved names in SQL as long as they are properly escaped. If we forget to escape them its a bug anyway (which could have security ramifications) so we need to fix that. Please attach a backtrace specifically pointing out the place you have found where this is an issue. We will need to escape the table name then.

This bug was due to a number of placed not escaping table names correctly. This was now fixed.