|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #31511 MSSQL queries generate error: "Changed database context to (dbname)"
Submitted: 2005-01-12 11:41 UTC Modified: 2005-01-12 12:59 UTC
From: Arne dot Heizmann at csr dot com Assigned:
Status: Closed Package: MSSQL related
PHP Version: 4.3.10 OS: Windows Server 2003
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
35 + 33 = ?
Subscribe to this entry?

 [2005-01-12 11:41 UTC] Arne dot Heizmann at csr dot com
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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-01-12 12:59 UTC] Arne dot Heizmann at csr dot com
Thanks; that CVS snapshot seems to work.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 29 09:01:33 2024 UTC