propelorm/Propel — Issue #301: MySQL vendor table option AUTO_INCREMENT causes syntax error
Author: rncain
Created: 2012-02-24 23:57:22+00:00
State: open

Version: 1.6.3
MySQL Version: 5.1.58
PHP Version: 5.3.6

Description:

When a mysql schema table is defined with:

propel-gen insert-sql causes syntax error

Expected:
Generation is successful

Actual:
An error is thrown - [propel-sql-exec] SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''100000'' at line 37

Note:
In generator/lib/platform/MysqlPlatform.php quotes parameter values
Removing the quoting seems to work for this parameter