Commit 85300d0f authored by nanahira's avatar nanahira

echof

parent 459dea0d
......@@ -26,7 +26,7 @@ function Auxiliary.SplitData(inputstr)
return t
end
function Auxiliary.LoadDB(p,pool)
local file=io.popen('echo .exit | sqlite3 2pick/'..pool..'.cdb -cmd select * from datas')
local file=io.popen("echo select * from datas | sqlite3 2pick/"..pool..".cdb")
for line in file:lines() do
local data=Auxiliary.SplitData(line)
local code=data[1]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment