note 101085 added to function.odbc-free-result
| From: | lmAtbibleinswitzerland at osu1 dot php dot net | Date: | Thu, 25 Nov 2010 08:13:29 +0000 |
| Subject: | note 101085 added to function.odbc-free-result | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-174344@lists.php.net to get a copy of this message | ||
I use WinDev 15.0 HyperFileSQL ODBC Connector on Windows, PHP 5.2.3.
With this configuration, any result ressource obtained with odbc_exec must be freed by
odbc_free_result before the next query by odbc_exec.
If the result ressource is not freed odbc_exec will return a corrupt result ressource.
example:
odbc_exec($query1);
odbc_exec($query2);
odbc_result_all();
Output: A table with empty cells
----
Server IP: 62.2.182.223
Probable Submitter: 212.74.161.157
----
Manual Page -- http://www.php.net/manual/en/function.odbc-free-result.php
Edit -- https://master.php.net/note/edit/101085
Del: integrated -- https://master.php.net/note/delete/101085/integrated
Del: useless -- https://master.php.net/note/delete/101085/useless
Del: bad code -- https://master.php.net/note/delete/101085/bad+code
Del: spam -- https://master.php.net/note/delete/101085/spam
Del: non-english -- https://master.php.net/note/delete/101085/non-english
Del: in docs -- https://master.php.net/note/delete/101085/in+docs
Del: other reasons-- https://master.php.net/note/delete/101085
Reject -- https://master.php.net/note/reject/101085
Search -- https://master.php.net/manage/user-notes.php