Empty SQL response cause unexpected DBH error in LUA
11 Jun
2019
11 Jun
'19
3:06 p.m.
Hi, All I'm debugging the following Lua script which should be inserting records into database using data, returned from preceding SQL query: [image: image.png] Everything works fine, unless SELECT returns no rows producing the following error: [ERR] freeswitch_lua.cpp:460 DBH NOT Connected. Are there any references as for how such empty responses should be correctly handled in Lua code to avoid this error, while using dbh:query? Regards, Marc
2702
Age (days ago)
2702
Last active (days ago)
0 comments
1 participants
participants (1)
-
Marc Quore