Bug #10901 Updated: mssql.min_error_severity or mssql.min_message_severity have no effect
| From: | fmk@php.net | Date: | Sat, 30 Jun 2001 19:16:18 +0000 |
| Subject: | Bug #10901 Updated: mssql.min_error_severity or mssql.min_message_severity have no effect | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-58556@lists.php.net to get a copy of this message | ||
ID: 10901
Updated by: fmk
Reported By: mike@newfangled.com
Old-Status: Open
Status: Closed
Bug Type: MSSQL related
Operating system:
PHP Version: 4.0.5
Assigned To:
Comments:
Using mssql_get_last_message will allways retune the last server message. Setting
mssql.min_message_severity and mssql.min_error_severity will only affect the PHP Warnings printed in
your script.
You should not use mssql_get_last_message to check for errors, but use the return value of the
function. If a function returns FALSE, you can check mssql_get_last_message to get the message.
Previous Comments:
---------------------------------------------------------------------------
[2001-05-16 09:27:14] mike@newfangled.com
mssql.min_message_severity
mssql.min_error_severity
in the php.ini file have no effect on messages received from MSSQL.
I am running MSSQL 7.0 SP2.
I still get
Changed database context to 'dbname'.
warning on queries even after setting the above values to greater than 10. The above warning is a
level 10 warning.
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10901&edit=2