mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
set Sybase default APPNAME to ("PHP " PHP_VERSION)
This commit is contained in:
parent
1fb0de4a6d
commit
fb25210072
@ -281,7 +281,7 @@ PHP_RINIT_FUNCTION(sybase)
|
||||
{
|
||||
php_sybase_module.default_link=-1;
|
||||
php_sybase_module.num_links = php_sybase_module.num_persistent;
|
||||
php_sybase_module.appname = estrndup("PHP 5", 5);
|
||||
php_sybase_module.appname = estrndup("PHP " PHP_VERSION, sizeof("PHP " PHP_VERSION));
|
||||
php_sybase_module.server_message = empty_string;
|
||||
php_sybase_module.min_error_severity = php_sybase_module.cfg_min_error_severity;
|
||||
php_sybase_module.min_message_severity = php_sybase_module.cfg_min_message_severity;
|
||||
|
@ -427,7 +427,7 @@ PHP_RINIT_FUNCTION(sybase)
|
||||
{
|
||||
SybCtG(default_link)=-1;
|
||||
SybCtG(num_links) = SybCtG(num_persistent);
|
||||
SybCtG(appname) = estrndup("PHP 5", 5);
|
||||
SybCtG(appname) = estrndup("PHP " PHP_VERSION, sizeof("PHP " PHP_VERSION));
|
||||
SybCtG(server_message) = empty_string;
|
||||
return SUCCESS;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user