1
0
mirror of https://github.com/luapower/mysql.git synced 2024-12-28 20:00:33 +01:00

unimportant

This commit is contained in:
Cosmin Apreuetsei 2014-06-06 03:43:20 +03:00
parent 8a88e36fdb
commit 63beb9ab35

View File

@ -141,7 +141,8 @@ function print_help(search)
local mysql = require'mysql'
local conn = mysql.connect('localhost', 'root', nil, 'mysql', 'utf8')
conn:query("select name, description, example from help_topic where name like '" .. conn:escape(search) .. "'")
conn:query("select name, description, example from help_topic where name like '" ..
conn:escape(search) .. "'")
local result = conn:store_result()
print('Found:')