https://github.com/sylar-yin/sylar/blob/ac52eeb36960cb3fd07e81518252c410f2dc5973/sylar/hook.cc#L116 个人觉得这里应该再添加一个`to!=0`的判断条件, 通过运行时对`to`值的打印, mysql查询时`to=0`, 同时返回报错Lost connection to server during query, 跳过`to==0`则可进行正常查询并返回
sylar/sylar/hook.cc
Line 116 in ac52eeb
个人觉得这里应该再添加一个
to!=0的判断条件, 通过运行时对to值的打印, mysql查询时to=0, 同时返回报错Lost connection to server during query, 跳过to==0则可进行正常查询并返回