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

#62 [patch] client_flag is not exposed!

MySQLdb-0.9.2
closed
Andy Dustman
MySQLdb (285)
5
2012-09-19
2003-07-28
Matthew Bogosian
No

Despite being listed in connections.py (as
"client_flags" -- with an "s" as of 0.9.1, but removed
in 0.9.2) and having the appropriate constants defined
in constants/CLIENT.py, the client_flag argument
remains unexposed to the user.

This is a real bother for me, since I need to add the
CLIENT.FOUND_ROWS flag for my application, but I have
no way of doing it short of modifying the sources
building a custom module.

Attached is a patch to remedy the situation and expose
the client_flag argument. I'm pretty sure this does not
interfere with the compress argument and they can be
safely used in tandem.

Discussion

  • Andy Dustman
    Andy Dustman
    2003-09-07

    Logged In: YES
    user_id=71372

    This has been fixed in the current CVS tree.

     
  • Andy Dustman
    Andy Dustman
    2003-09-07

    Logged In: YES
    user_id=71372

    Please test with current CVS (post-0.9.3b1)