lunarmodules / luasql

LuaSQL is a simple interface from Lua to a DBMS.
http://lunarmodules.github.io/luasql
535 stars 192 forks source link

Fix ODBC types to match standard typedefs #113

Closed EssGeeEich closed 5 years ago

EssGeeEich commented 5 years ago

This fixes a bug that I'm currently experiencing reproducible in the following way:

Selecting a column of integer type would mess up the values.

Current behavior: image 4 is the "got" size, the mess of numbers is the returned value.

Updated behavior: image 4 is still the "got" size, the value "2247" is correctly returned.