Merge branch '1.0'
This commit is contained in:
@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user