|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-01-01 16:47 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 15:00:01 2025 UTC |
Description: ------------ Using php_mssql.dll when you query Microsoft SQL Server 2000, mssql returns the following informational message. Changed database context to 'SampleDB'. This is not an error but the new mssql extension returns error. Every php application that works with SQL Server now encounter this bug if they handle errors. Reproduce code: --------------- $link = mssql_connect("server", "sa", ""); mssql_select_db("SampleDB", $link); mssql_query("DELETE FROM SampleTable WHERE id=10", $link) or die(mssql_get_last_message()); Expected result: ---------------- No error must be returned because everything is ok. Actual result: -------------- The following error is returned. Changed database context to 'SampleDB'.