以前总是觉得自己比上有太多不足
比下不管是否已经够好
从来不比

一把年龄了
没有一天是开心的
总是憋屈的活在,否定自己的泥潭里面

灯塔已熄灭
失去了前进的方向和动力
其实
从来就没有过幻想中的 Tower
都是自己在骗自己

从今天起
一切都无所谓了
不因为任何人做任何事
所做任何事,皆因自己乐意
即便这辈子就这样了,那就这样了
从容面对

-- 开始读 message 表
if read_type == ">" then
    local sql = "select * from message where date ".. read_type .." ".. local_date  .. " LIMIT 1"; -- 读 sms 表中,时间戳大于本地存储最后一条短信时间戳的一条短信
end

if read_type == "=" then
    local sql = "select * from message where date ".. read_type .." ".. local_date; -- 读 sms 表中,时间戳等于 本地存储最后一条短信时间戳的 所有 短信
end
--          "select * from message where date = 88888888 LIMIT 1"
if is_Debug then
    dialog((debug.getinfo(1).currentline)..",sql:".. sql);
end

以上写法,在 dialog((debug.getinfo(1).currentline)..",sql:".. sql); 时,报错 sql 值为 nil。
-- dialog 是触动精灵的屏幕打印函数


- 阅读剩余部分 -