sybase_min_client_severity

(PHP 4, PHP 5)

sybase_min_client_severitySets minimum client severity

Warning

This function was REMOVED in PHP 7.0.0.

설명

void sybase_min_client_severity ( int $severity )

sybase_min_client_severity() sets the minimum client severity level.

인수

severity

반환값

값을 반환하지 않습니다.

주의

Note: 이 함수는 Sybase를 CT 라이브러리 인터페이스로 이용할 때만 사용할 수 있으며, DB 라이브러리로는 사용할 수 없습니다.

참고

add a note add a note

User Contributed Notes 3 notes

up
0
sean dot healey at bayernlb dot co dot uk
19 years ago
Sybase considers severity levels 0-16 as non-fatal. Above that you probably don't want to block messages.
up
0
rudolf at 1stomni dot com
22 years ago
This parameter setup level of responce mesage filtering when you compile
--with-sybase_ct

<?
sybase_min_client_severity
(9);
sybase_min_server_severity(9);
$db=sybase_connect("mdserver","sa","");
?>

Will result:
Warning: Sybase: Server message: Changed database context to 'master'.
(severity 10, procedure N/A) in
/var/www/html/DBAdmins/phpSybaseAdmin/test.php on line 4

<?
sybase_min_client_severity
(100);
sybase_min_server_severity(100);
$db=sybase_connect("mdserver","sa","");
?>

Will not generate warning!!!

Can be used for SYBASE debugging !
up
-1
Anonymous
23 years ago
The severity levels mentioned here are referenced in the Sybase System Administration documentation. I didn't know that, and it annoyed me. Now you know.
To Top