Core/Misc: Misc fixes
This commit is contained in:
@@ -59,7 +59,10 @@ namespace Framework.Database
|
||||
|
||||
public bool IsEmpty()
|
||||
{
|
||||
return _reader == null || !_reader.HasRows;
|
||||
if (_reader == null)
|
||||
return true;
|
||||
|
||||
return _reader.IsClosed || !_reader.HasRows;
|
||||
}
|
||||
|
||||
public SQLFields GetFields()
|
||||
|
||||
Reference in New Issue
Block a user