memsql / singlestore-odbc-connector

8 stars 2 forks source link

Fix skipping error if it comes after the resultset #22

Closed pmishchenko-ua closed 1 month ago

pmishchenko-ua commented 1 month ago

When server is able to calculate the fields of the result set before a query error occurs (e.g. query killed due to OOM), it can send them before the error packet. So we need to check if the error happened even if fields are received successfully.