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.