@@ -243,7 +243,7 @@ PHP_INI_BEGIN()
243
243
STD_PHP_INI_ENTRY_EX ("mssql.max_links" , "-1" , PHP_INI_SYSTEM , OnUpdateLong , max_links , zend_mssql_globals , mssql_globals , display_link_numbers )
244
244
STD_PHP_INI_ENTRY_EX ("mssql.min_error_severity" , "10" , PHP_INI_ALL , OnUpdateLong , cfg_min_error_severity , zend_mssql_globals , mssql_globals , display_link_numbers )
245
245
STD_PHP_INI_ENTRY_EX ("mssql.min_message_severity" , "10" , PHP_INI_ALL , OnUpdateLong , cfg_min_message_severity , zend_mssql_globals , mssql_globals , display_link_numbers )
246
- STD_PHP_INI_BOOLEAN ("mssql.compatability_mode " , "0" , PHP_INI_ALL , OnUpdateBool , compatability_mode , zend_mssql_globals , mssql_globals )
246
+ STD_PHP_INI_BOOLEAN ("mssql.compatibility_mode " , "0" , PHP_INI_ALL , OnUpdateBool , compatibility_mode , zend_mssql_globals , mssql_globals )
247
247
STD_PHP_INI_ENTRY_EX ("mssql.connect_timeout" , "5" , PHP_INI_ALL , OnUpdateLong , connect_timeout , zend_mssql_globals , mssql_globals , display_link_numbers )
248
248
STD_PHP_INI_ENTRY_EX ("mssql.timeout" , "60" , PHP_INI_ALL , OnUpdateLong , timeout , zend_mssql_globals , mssql_globals , display_link_numbers )
249
249
STD_PHP_INI_ENTRY_EX ("mssql.textsize" , "-1" , PHP_INI_ALL , OnUpdateLong , textsize , zend_mssql_globals , mssql_globals , display_text_size )
@@ -415,12 +415,12 @@ static void _mssql_bind_hash_dtor(void *data)
415
415
*/
416
416
static PHP_GINIT_FUNCTION (mssql )
417
417
{
418
- long compatability_mode ;
418
+ long compatibility_mode ;
419
419
420
420
mssql_globals -> num_persistent = 0 ;
421
421
mssql_globals -> get_column_content = php_mssql_get_column_content_with_type ;
422
- if (cfg_get_long ("mssql.compatability_mode " , & compatability_mode ) == SUCCESS ) {
423
- if (compatability_mode ) {
422
+ if (cfg_get_long ("mssql.compatibility_mode " , & compatibility_mode ) == SUCCESS ) {
423
+ if (compatibility_mode ) {
424
424
mssql_globals -> get_column_content = php_mssql_get_column_content_without_type ;
425
425
}
426
426
}
0 commit comments