diff options
author | Ulf Wendel <uw@php.net> | 2010-10-04 10:02:58 +0000 |
---|---|---|
committer | Ulf Wendel <uw@php.net> | 2010-10-04 10:02:58 +0000 |
commit | e20c62d3be14b45de482d385c18f35c529347d8a (patch) | |
tree | 1d893ebd468eec173633eb8f2fa2e04b16ccbe6a /ext/mysqli/php_mysqli_structs.h | |
parent | e8c87c6d21670ced24b98a31a5b81dff6a526ef2 (diff) | |
download | php-git-e20c62d3be14b45de482d385c18f35c529347d8a.tar.gz |
Sorry for the commit but compiler warnings are annoying and so are white spaces at the end of a line, if one uses an editor which removes them on save and diff's get blown
up by white space changes...
Changes:
- remove end of line white space
- fix compiler warning "ext/mysqli/mysqli_priv.h:156:27: warning: no newline at end of file"
- fix compiler warning "ext/mysqli/mysqli_fe.h:135:25: warning: no newline at end of file"
- fix compiler warning "ext/mysqli/mysqli.c:896:11: warning: extra tokens at end of #ifdef directive"
Diffstat (limited to 'ext/mysqli/php_mysqli_structs.h')
-rw-r--r-- | ext/mysqli/php_mysqli_structs.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/mysqli/php_mysqli_structs.h b/ext/mysqli/php_mysqli_structs.h index 6e34d5b5b7..6de18a3d56 100644 --- a/ext/mysqli/php_mysqli_structs.h +++ b/ext/mysqli/php_mysqli_structs.h @@ -17,7 +17,7 @@ | Ulf Wendel <uw@php.net> | +----------------------------------------------------------------------+ - $Id$ + $Id$ */ #ifndef PHP_MYSQLI_STRUCTS_H @@ -126,7 +126,7 @@ typedef struct { unsigned int multi_query; zend_bool persistent; #if defined(MYSQLI_USE_MYSQLND) - int async_result_fetch_type; + int async_result_fetch_type; #endif } MY_MYSQL; @@ -226,12 +226,12 @@ extern PHPAPI zend_class_entry *spl_ce_RuntimeException; #define MYSQLI_DISABLE_MQ if (mysql->multi_query) { \ mysql_set_server_option(mysql->mysql, MYSQL_OPTION_MULTI_STATEMENTS_OFF); \ mysql->multi_query = 0; \ -} +} #define MYSQLI_ENABLE_MQ if (!mysql->multi_query) { \ mysql_set_server_option(mysql->mysql, MYSQL_OPTION_MULTI_STATEMENTS_ON); \ mysql->multi_query = 1; \ -} +} #define REGISTER_MYSQLI_CLASS_ENTRY(name, mysqli_entry, class_functions) { \ zend_class_entry ce; \ |