From: Satria at dreamweb dot co dot id Operating system: NT2K PHP version: 5.1.2 PHP Bug Type: MSSQL related Bug description: didnt work for multiple connection
Description: ------------ mssql_select_db() also override Used Database on the another Connection Reproduce code: --------------- $sqlLink1=mssql_connect($host,$user,$pass); $SecondLINK=mssql_connect($host,$user,$pass); /*Yes, both connection on same Machine*/ mssql_select_db('db1',$sqlLink1); /*Until here, still no problem*/ mssql_select_db('db2', $SecondLINK); //Second time DB Select also will override $sqlLink1, is this Bugs? or... its what should it be ? Expected result: ---------------- mssql_select_db() only affected on the $param2 connection Actual result: -------------- - -- Edit bug report at http://bugs.php.net/?id=36639&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=36639&r=trysnapshot44 Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=36639&r=trysnapshot51 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=36639&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=36639&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=36639&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=36639&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=36639&r=needscript Try newer version: http://bugs.php.net/fix.php?id=36639&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=36639&r=support Expected behavior: http://bugs.php.net/fix.php?id=36639&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=36639&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=36639&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=36639&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=36639&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=36639&r=dst IIS Stability: http://bugs.php.net/fix.php?id=36639&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=36639&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=36639&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=36639&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=36639&r=mysqlcfg