Merge branch '1.0'

This commit is contained in:
Alexey Kopytov
2018-03-23 19:14:54 +03:00
4 changed files with 17 additions and 2 deletions

View File

@ -301,7 +301,7 @@ end
function connection_methods.query_row(self, query)
local rs = self:query(query)
if rs == nil then
if rs == nil or rs.nrows == 0 then
return nil
end