lunarmodules / luasql

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

tests/odbc.lua - typo in variable name #37

Closed jk77 closed 8 years ago

jk77 commented 8 years ago

Hello LuaSQL team,

Thanks for providing this LuaSQL interface. Keep up the good work!

Found a typo is tests/odbc.lua that causes the "drop table" test in test.lua to report a failure when testing with an SQL Server database, even though the table was dropped successfully.

On line 30 of odbc.lua, variable DROP_TABLE_RETURN_VALUE0 should be renamed to DROP_TABLE_RETURN_VALUE (drop the 0) to fix.

Can create a pull request if needed.

Regards jk77

hishamhm commented 8 years ago

Can create a pull request if needed.

A PR is most welcome! Thanks!

mpeterv commented 8 years ago

(Fixed in #39)