Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Handle text protocol COM_QUERY response #138
This is my implementation of the text query response protocol. The difference between the binary and text protocols is that the text protocol converts all the row data to length encoded strings. I've made
I also have a few questions/concerns about my code:
referenced this pull request
Sep 30, 2016
I would like to implement cursor support so results of queries can be streamed with memory efficiency inside a transaction but this is prohibitively difficult if the text protocol is supported. Is it possible to drop text query support? I realise this is the opposite of the request in this PR.
@fishcakez Hi there, I'm a coworker of @jdangerx, and I think dropping text protocol support is infeasible given the large number of mysql commands that are unable to be executed through the prepared statement/binary protocol. Currently, this is impacting us when we attempt to connect to Sphinx, which doesn't seem to have support for the binary protocol.