ID: 34659
Updated by: [EMAIL PROTECTED]
Reported By: elite at programmer dot net
-Status: Open
+Status: Feedback
Bug Type: MSSQL related
Operating System: Windows XP/2003
PHP Version: 5CVS-2005-09-27 (snap)
New Comment:
"Changed database context to '...'" is not generated by PHP but by the
database server. It's not an error but a message returned when the
current database context was changed.
Your example does not show how the function is failing. Please provide
an example that shows the trigger and the full PHP code so we can
reproduce the problem and fix the bug, if any.
Previous Comments:
------------------------------------------------------------------------
[2005-09-27 16:06:55] elite at programmer dot net
Description:
------------
When you execute a query, e.g. delete a row in a table that has
triggers AFTER DELETE and those triggers return resultsets (eg. SELECT
id FROM DELETED) PHP will report "Changed database context to '...'"
Reproduce code:
---------------
mssql_query("DELETE row FROM table1");
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=34659&edit=1