nil -> discard
This commit is contained in:
parent
8a4138da55
commit
e1600f209f
1 changed files with 1 additions and 1 deletions
|
|
@ -87,7 +87,7 @@ proc newRow(L: int): TRow =
|
|||
|
||||
proc properFreeResult(sqlres: mysql.PRES, row: cstringArray) =
|
||||
if row != nil:
|
||||
while mysql.FetchRow(sqlres) != nil: nil
|
||||
while mysql.FetchRow(sqlres) != nil: discard
|
||||
mysql.FreeResult(sqlres)
|
||||
|
||||
iterator fastRows*(db: TDbConn, query: TSqlQuery,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue