From: Arne dot Heizmann at csr dot com
Operating system: Windows Server 2003
PHP version: 4.3.10
PHP Bug Type: MSSQL related
Bug description: MSSQL queries generate error: "Changed database context to
(dbname)"
Description:
------------
I have upgraded a company-internal website from PHP 4.3.9 to PHP 4.3.10
and I am now getting the following error for just about any INSERT or
UPDATE query I send to the MS SQL database:
Changed database context to '(dbname)'.
Where (dbname) is, of course, the name of the DB.
I believe that this is a duplicate of 31372; however, 31372 was closed
"Bogus" but I do believe that this is a real problem, and I couldn't find
a way of re-opening that other bug. A comment also says that it is a
duplicate, but doesn't say what bug it is a duplicate of (and I searched
for it and couldn't find it). I've also noticed 31195, but it didn't
mention this error message, so I don't know if it's the same problem.
Expected result:
----------------
Queries that succeed in PHP 4.3.9 should equally succeed in PHP 4.3.10.
Actual result:
--------------
Queries fail with "Changed database context" error message.
--
Edit bug report at http://bugs.php.net/?id=31511&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31511&r=trysnapshot4
Try a CVS snapshot (php5.0):
http://bugs.php.net/fix.php?id=31511&r=trysnapshot50
Try a CVS snapshot (php5.1):
http://bugs.php.net/fix.php?id=31511&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=31511&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=31511&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=31511&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=31511&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=31511&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=31511&r=support
Expected behavior: http://bugs.php.net/fix.php?id=31511&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=31511&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=31511&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=31511&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31511&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=31511&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=31511&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=31511&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=31511&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=31511&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=31511&r=mysqlcfg