What's Changed
Fix which set of column info is used for binary resultset decoding by @gwynne in #117
This solves the driver crashing when executing a query which returns columns whose
COM_STMT_EXECUTEresponse column info is different from theCOM_STMT_PREPARE_OKcolumn info. In practice this happens for result fields which are expressions whose type differs from that of the underlying columns, e.g..SELECT (foo = 1) AS is_one FROM bar;—the prepare column info will claimis_oneis aBIGINT, but the execute column info will show it to be anINTEGER, which has a different (smaller) binary encoding.Also bumps the package to Swift 6.
Closes #115.
Reviewers
Thanks to the reviewers for their help:
This patch was released by @gwynne
Full Changelog: 1.8.0...1.9.0