Displaying 2 results from an estimated 2 matches for "_copyright".
Did you mean:
copyright
2012 Dec 13
3
Lua improvements
Here are a few patches I applied to get the Lua bindings to build
correctly with different versions of Lua.
I am not particularly happy with generating all the test scripts just
for the shebang line. Since it has been a while since I had to edit
autoconf/automake, this was the best I could come up with.
Cheers,
-Hilko
2014 Jul 25
0
pbx_lua module with luasql.mysql
...con = assert(env:connect("mydb", "root", "mypass", "localhost",
3306));
local cur = assert(con:execute("SELECT version()"));
print("<mysql> MYSQL driver version is: "..driver._MYSQLVERSION);
print("<mysql> "..driver._COPYRIGHT);
print("<mysql> "..driver._DESCRIPTION);
print("<mysql> "..driver._VERSION);
cur:close()
con:close()
env:close()
end;
mysqltest()
____________________________________________________________
when I called it as
>lua mysqltest.lua
I see response:
<mysql&g...