Closed Zash closed 8 years ago
Agreed, this is in the "well don't do that then" department :)
I think this should raise a catchable error. Committed a unit test for it; fix forthcoming as soon as I find the time.
A lua_error()
would be much preferable to SIGSEGV :)
Fixed in all open-source drivers. DB2 and Oracle aren't being tested yet, so I'm going close this issue as fixed.
From the
well don't do that then
department:This code segfaults, since the database conn is (obviously) no longer valid.