Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#229 SQLObject allows columns named 'default' but MySQL doesn't

open
nobody
None
5
2013-01-18
2007-10-10
David Turner
No

SQLObject should give a comprehensible error message when you try to name a column 'default' and you are using MySQL. Instead, it gives a MySQL syntax error.

Discussion

  • Oleg Broytman
    Oleg Broytman
    2007-10-10

    Logged In: YES
    user_id=4799
    Originator: NO

    It should do this for any backend and any reserved keyword. Unfortunately, lists of reserved keywords differ between backends and even between versions of a backend.