Note that I built a custom lua-sql-odbc Debian package by simply substituting the latest src code on the master branch at https://github.com/lunarmodules/luasql in place of the current src code at https://salsa.debian.org/lua-team/lua-sql, and it does in fact resolve the reported issue.
- Bug#1063730: lua-sql-odbc Aborted on con:execute(sql) #135 Chad Phillips
- Bug#1063730: [Bug #1063730] Clarify that latest master ... Chad Phillips