no message

This commit is contained in:
changfeng
2014-06-25 22:15:06 +08:00
parent bf686da723
commit 315945b2bd

View File

@@ -69,7 +69,15 @@ skynet.start(function()
res = db:query("select * from cats order by id asc")
print ( dump( res ) )
-- multiresultset test
res = db:query("select * from cats order by id asc ; select * from cats")
print ( dump( res ) )
print ( mysql.quote_sql_str([[\mysql escape %string test'test"]]) )
-- bad sql statement
res = pcall( db.query, db, "select * from notexisttable" )
print( dump(res) )
skynet.exit()
end)