Add oursql driver layer for sqlalchemy

Issue #1613 resolved
Former user created an issue

A new mysql driver approaches!

I wrote oursql to be a better mysql driver for python, and now I've created this sqlalchemy layer for it. It seems to pass all of the unit tests when running against a mysql 5.1 server.

Comments (11)

  1. Former user Account Deleted

    Oh, including the change to test/orm/test_relationships.py was mostly a mistake. It fails without that change on oursql, and I wasn't clear on why it wasn't ordering by id anyway.

  2. Former user Account Deleted

    Okay, here's a new version that implements plain queries in a much more sensible way, passing metadata through the Connection object.

    If you're getting failures with unicode-related unit tests, make sure that the database charset is utf8. I'm not getting any unicode-related failures when I run the test suite, but I am getting some errors related to two-phase transactions timing out. If you're not getting any such errors, I'll have to figure out what the difference between our testing setups is.

  3. Mike Bayer repo owner

    this shouldn't be there:

    contextual_connect(close_with_result=True)
    

    that's going to force the DBAPI connection closed even if its being used for a larger set of operations.

  4. Log in to comment