diff options
author | Anantha Kesari H Y <hyanantha@php.net> | 2002-07-15 11:14:18 +0000 |
---|---|---|
committer | Anantha Kesari H Y <hyanantha@php.net> | 2002-07-15 11:14:18 +0000 |
commit | 44bbec7acb512526ac23598d346ff9c1aa358248 (patch) | |
tree | 8c05d1b6295454a7dd933be1fb7a1dfe7f761c35 /ext | |
parent | a1f37648b34ad76fd35b2532552804fd55e846ae (diff) | |
download | php-git-44bbec7acb512526ac23598d346ff9c1aa358248.tar.gz |
mysql_create_db and mysql_drop_db disabled for NetWare
Diffstat (limited to 'ext')
-rw-r--r-- | ext/mysql/php_mysql.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/mysql/php_mysql.c b/ext/mysql/php_mysql.c index 49564c27dc..e477fade5b 100644 --- a/ext/mysql/php_mysql.c +++ b/ext/mysql/php_mysql.c @@ -116,10 +116,12 @@ function_entry mysql_functions[] = { PHP_FE(mysql_pconnect, NULL) PHP_FE(mysql_close, NULL) PHP_FE(mysql_select_db, NULL) +#ifndef NETWARE /* The below two functions not supported on NetWare */ #if MYSQL_VERSION_ID < 40000 PHP_FE(mysql_create_db, NULL) PHP_FE(mysql_drop_db, NULL) #endif +#endif /* NETWARE */ PHP_FE(mysql_query, NULL) PHP_FE(mysql_unbuffered_query, NULL) PHP_FE(mysql_db_query, NULL) @@ -173,10 +175,12 @@ function_entry mysql_functions[] = { PHP_FALIAS(mysql_fieldtype, mysql_field_type, NULL) PHP_FALIAS(mysql_fieldflags, mysql_field_flags, NULL) PHP_FALIAS(mysql_selectdb, mysql_select_db, NULL) +#ifndef NETWARE /* The below two functions not supported on NetWare */ #if MYSQL_VERSION_ID < 40000 PHP_FALIAS(mysql_createdb, mysql_create_db, NULL) PHP_FALIAS(mysql_dropdb, mysql_drop_db, NULL) #endif +#endif /* NETWARE */ PHP_FALIAS(mysql_freeresult, mysql_free_result, NULL) PHP_FALIAS(mysql_numfields, mysql_num_fields, NULL) PHP_FALIAS(mysql_numrows, mysql_num_rows, NULL) @@ -1076,6 +1080,7 @@ PHP_FUNCTION(mysql_character_set_name) /* }}} */ #endif +#ifndef NETWARE /* The below two functions not supported on NetWare */ #if MYSQL_VERSION_ID < 40000 /* {{{ proto bool mysql_create_db(string database_name [, int link_identifier]) Create a MySQL database */ @@ -1156,6 +1161,7 @@ PHP_FUNCTION(mysql_drop_db) } /* }}} */ #endif +#endif /* NETWARE */ /* {{{ php_mysql_do_query_general */ |