- attached mssql-quoting.patch
MSSQL dialect does not quote 'function' as field name
Issue #838
resolved
I have a field called 'function' in my schema. Creating schema on MSSQL fails - quoting is not automatically turned on for that field (workaround with manual adding keyword arg quote=True works).
Tested with: SQLAlchemy r3680, MSSQl 2005, ADODBAPI.
I'll attach patch that adds 'function' to reserved words list for MSSQL.
Comments (2)
-
Account Deleted -
- changed status to resolved
Ok, this works for me. For future patches, please set your diff to ignore whitespace (svn diff -x -w). Anyway, committed in 3821.
- Log in to comment
Patch is big because my editor removed some redundant whitespace (spaces and tabs in empty lines and at the ends of them).