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

From: Date: Fri, 24 Nov 2000 11:56:33 +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-39094@lists.php.net to get a copy of this message
ID: 6094 User Update by: mhaase@funfood.de Old-Status: Feedback Status: Open Bug Type: Reproduceable crash Description: Crash when getting results from 2 different db-tables. Doesnt happen anymore with php 4.03pl1. Great!!!! Thanks! Previous Comments: --------------------------------------------------------------------------- [2000-11-21 04:11:37] sniper@php.net Does this happen with PHP4.0.3pl1 ? --Jani --------------------------------------------------------------------------- [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 (#39094) next »