Register
Log In
A-Shell Network
Forums
ASQL
SQLOP_FREE_RESULT question
Forums
Calendar
Active Threads
Forum Help
Previous Thread
Next Thread
Print Thread
SQLOP_FREE_RESULT question
#31113
07 May 14
11:00 AM
Joined:
Nov 2006
Posts: 2,223
Northwest Arkansas
S
Stephen Funkhouser
OP
Member
OP
Stephen Funkhouser
Member
S
Joined:
Nov 2006
Posts: 2,223
Northwest Arkansas
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,794
Woodland Hills, CA
J
Jack McGregor
Member
Jack McGregor
Member
J
Joined:
Jun 2001
Posts: 11,794
Woodland Hills, CA
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
Hop To
General Discussion ------
Porting, Getting Started, Forum...
Program Development
Environment - Windows
Environment - UNIX / Linux
Community
Printing - Windows
Printing - UNIX / Linux
A-Shell Other
Versions
A-Shell 7.0
A-Shell 6.0
A-Shell 6.1
A-Shell 5.0
APN
APN - User Issues
APN - Development
ATE & ATS
SOSLIB & EXLIB
PDFX
ASQL
ZTERM
Images1
Print Thread
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Homepage
Follow User
Forum Posts
Default Style
UBB.threads
UBB.threads - Dark
UBB.threads - Light
UBBCentral - Crimson
UBBCentral - Lime
UBBCentral - Marshmallow
UBBCentral - Zen
Ventura - Burgundy
Ventura - Pine
Forum Rules
·
Mark All Read
Contact Us
·
A-Shell Network
Powered by UBB.threads™ PHP Forum Software 7.7.3