PHP 4.0 Bug #6094 Updated: Crash when getting results from 2 different db-tables.
| From: | Bug Database | Date: | Fri, 11 Aug 2000 03:34:13 +0000 |
| Subject: | PHP 4.0 Bug #6094 Updated: Crash when getting results from 2 different db-tables. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-28444@lists.php.net to get a copy of this message | ||
ID: 6094
User Update by: mhaase@funfood.de
Status: Open
Bug Type: Reproduceable crash
Description: Crash when getting results from 2 different db-tables.
Hi Folks,
had this problem with odbc, thougt it was an odbc module problem, but now i got it on
mssql too, so I guess its more....
Do this:
$con1 = odbc_connect(dsn1, User, pass);
$cur1 = odbc_exec($con1, "SELECT * FROM table");
$rows = odbc_fetch_row($cur1);
$con2 = odbc_connect(dsn2, User, pass);
$cur2 = odbc_exec($con2, "SELECT * FROM table");
$rows = odbc_fetch_row($cur2);
and php will crash, same with mssql.
contact me for further details.
Full Bug description available at: http://bugs.php.net/?id=6094