#47 createTable broken for mysql in 0.8dev

closed-accepted
nobody
None
5
2006-02-11
2006-02-04
Rick Richardson
No

There was no mysqlCreateReferenceConstraint so it was
referring to the base class which threw a horrible assert.

I have created the constraint stuff in the style of the
pg version.

NOTE: The PG version could easily create constraint
name duplicates. This is a nono in mysql and other
databases. I have modified the naming convention so
that they're far less likely to clash.

patch included.

Discussion

  • Oleg Broytman
    Oleg Broytman
    2006-02-09

    Logged In: YES
    user_id=4799

    No, it's not included! Please attach the patch and don't
    forget to check the checkbox! (-:

     
  •  
    Attachments
  • Logged In: YES
    user_id=1443006

    Kay.. here is the patch that mods
    mysqlCreateReferenceConstraint function with the alternate
    naming convention. (hopefully)

     
  • Ian Bicking
    Ian Bicking
    2006-02-11

    • status: open --> closed-accepted
     
  • Ian Bicking
    Ian Bicking
    2006-02-11

    Logged In: YES
    user_id=210337

    Applied in r1595.