PHP 4.0 Bug #6094 Updated: Crash when getting results from 2 different db-tables.

From: Date: Tue, 21 Nov 2000 09:11:37 +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-38770@lists.php.net to get a copy of this message
ID: 6094 Updated by: sniper Reported By: mhaase@funfood.de Status: Feedback Bug Type: Reproduceable crash Assigned To: Comments: Does this happen with PHP4.0.3pl1 ? --Jani Previous Comments: --------------------------------------------------------------------------- [2000-08-10 23:34:12] mhaase@funfood.de 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. --------------------------------------------------------------------------- [2000-08-10 23:31:26] mhaase@funfood.de 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 dsn1"); $con2 = odbc_connect(dsn2, User, pass); $cur2 = odbc_exec($con2, "SELECT * FROM dsn1"); and php will crash, same with mssql. contact me for further details. --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=6094

« previous php.dev (#38770) next »