tracking this function?

im looking for a mysql error and im trying to track the error so i did like this:

] lua_run print(sql.LastError) 
> print(sql.LastError) ...
function: 0373C508

and it just says “function: 0373C508”, how do i know which function this is?


sql.LastError is the function in the sql table, to get the actual error you need to call the function, so use arguments, in this case there are none so just use print( sql.LastError() )

thank you