摘要:
今天数据库迁移测试,发现存储过程导入不了,提示如下错误: Cannot load from mysql.proc. The table is probably corrupted 原因是mysql5.5版本后proc表中comment字段类型由char改成了text 解决方法: ALTER TABL 阅读全文
摘要:
local s = io.popen("dir F:\\headicon /b/s") local filelist = s:read("*all") local start_pos = 0 local count = 0 while true do _,end_pos, line = string.find(filelist, "([^\n\r]+.jpg)", start_po... 阅读全文
摘要:
function tableToString(studentNum) local str = "{ " str = str.."\n" for k, v in pairs(studentNum) do if type(v) ~= "table" then str = str.."[\""..k.."\"]" ... 阅读全文