note 51213 added to function.mssql-free-statement

From: Date: Wed, 23 Mar 2005 18:02:28 +0000
Subject: note 51213 added to function.mssql-free-statement
Groups: php.notes 
Request: Send a blank email to php-notes+get-86851@lists.php.net to get a copy of this message
Maybe it's unique to my FreeTDS configuration, but if I don't call mssql_free_statement() after every stored procedure (i.e. mssql_init, mssql_bind, mssql_execute, mssql_fetch_array), all subsequent stored procedures on the same database connection will fail. I only mention it because this man-page deprecates the use of mssql_free_statement(), saying it's only there for run-time memory concerns. At least in my case, it's also a crucial step in the process of running a stored procedure. If anyone else has problems running multiple stored procedures on the same connection, I hope this helps them out. ---- Manual Page -- http://www.php.net/manual/en/function.mssql-free-statement.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+51213 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+51213&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+51213&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+51213&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+51213&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+51213&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+51213&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#86851) next »