]> git.ipfire.org Git - thirdparty/freeswitch.git/commit
FS-9741: lua expose db err str in freeeswitch.dbh
authorAron Podrigal <aronp@guaranteedplus.com>
Mon, 21 Nov 2016 17:03:31 +0000 (17:03 +0000)
committerAron Podrigal <aronp@guaranteedplus.com>
Mon, 21 Nov 2016 21:11:03 +0000 (21:11 +0000)
commitd3201c633571d511ee308cb27d618941a42bcdd2
tree7be8b9b23caf0793039e4904e3cc15f7224908c3
parent5bed1b0c2da38d96dfad8ec3b026cd7391cd02e1
FS-9741: lua expose db err str in freeeswitch.dbh

Added 2 methods to lua freeswitch.Dbh
`last_error()` Returns the error string from the last query or nil.
`clear_error()` clears the error string.
src/mod/languages/mod_lua/freeswitch.i
src/mod/languages/mod_lua/freeswitch_lua.cpp
src/mod/languages/mod_lua/freeswitch_lua.h
src/mod/languages/mod_lua/mod_lua_wrap.cpp