memsql / singlestore-odbc-connector

8 stars 2 forks source link

SQLPrimaryKeys crash information_schema.schemata #8

Closed faridzidan closed 1 year ago

faridzidan commented 2 years ago

Windows 10 x64 SingleStore 07.08.0017 MemSQL source distribution (compatible; MySQL Enterprise & MySQL Commercial) ssodbca.dll 01.01.0000

Driver crashes on trying to execute SQLPrimaryKeys for information_schema.schemata table. This works fine with MySQL ODBC driver and SingleStore 1.04 ODBC driver, but not with latest SingleStore ODBC Driver ANSI 1.1.0.

Exception thrown: read access violation. table_row was nullptr.

The crash does not happen if executing SQLPrimaryKeys on a user table.

SQLPrimaryKeys crash 2022-10-17 121458

pmishchenko-ua commented 1 year ago

Fixed in https://github.com/memsql/singlestore-odbc-connector/releases/tag/v1.1.2