Previous Thread
Next Thread
Print Thread
SQLOP_FREE_RESULT question #31113 07 May 14 11:00 AM
Joined: Nov 2006
Posts: 2,192
S
Stephen Funkhouser Online Content OP
Member
OP Online Content
Member
S
Joined: Nov 2006
Posts: 2,192
Is it necessary to "free result" for a query which returns no rows?


Stephen Funkhouser
Diversified Data Solutions
Re: SQLOP_FREE_RESULT question #31114 07 May 14 11:56 AM
Joined: Jun 2001
Posts: 11,645
J
Jack McGregor Online Content
Member
Online Content
Member
J
Joined: Jun 2001
Posts: 11,645
It appears to me that is not necessary. The result handle (which is freed by SQLOP_FREE_RESULT) is only set if the query returns rows.

On the other hand, a redundant SQLOP_FREE_RESULT call would be harmless.


Moderated by  Jack McGregor, Ty Griffin 

Powered by UBB.threads™ PHP Forum Software 7.7.3