Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MySQL: Support multiple result sets in prepared queries #825

Commits on Jun 5, 2018

  1. MySQL: Support multiple result sets in prepared queries

    Prepared statements can return multiple result sets since MySQL 5.5. That can happen when calling stored procedures using `CALL x();`.
    
    This change removes the previous caching of result bindings, since the number of fields in a result can differ from result set to result set. This could potentially have a negative impact on prepared statements always only returning one result set, since the result binding buffers are recreated everytime the statement is executed instead of once. That difference should be negligible.
    
    Fixes alliedmodders#823.
    peace-maker committed Jun 5, 2018
    Copy the full SHA
    df61a6d View commit details
    Browse the repository at this point in the history