Code: Select all
if (FStatementType in [stSelect, stExecProc])
and (FResultXSQLDA.GetFieldCount <> 0) then
if not Assigned(LastResultSet) then
LastResultSet := TZInterbase6XSQLDAResultSet.Create(Self, SQL,
FStmtHandle, FResultXSQLDA, CachedLob, FStatementType)
else
LastResultSet := nil;
Code: Select all
if (FStatementType in [stSelect, stExecProc])
and (FResultXSQLDA.GetFieldCount <> 0) then
if not Assigned(LastResultSet) then
LastResultSet := TZInterbase6XSQLDAResultSet.Create(Self, SQL,
FStmtHandle, FResultXSQLDA, CachedLob, FStatementType)
else // !
else
LastResultSet := nil;