diff options
author | Andrey Hristov <andrey@php.net> | 2008-01-02 21:14:35 +0000 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 2008-01-02 21:14:35 +0000 |
commit | fdf20a8287172ec74d0acacdd58b9c0c25d670d5 (patch) | |
tree | 2a72f9d23f1d3f74342805b8905eae3d6fad8351 /ext/mysqlnd/mysqlnd_wireprotocol.h | |
parent | fc74136a9066693c9fb9c51f085b2af1f8bbae5c (diff) | |
download | php-git-fdf20a8287172ec74d0acacdd58b9c0c25d670d5.tar.gz |
- Fix problems with double definitions
- Clean up a bit a type mess - 4 types less. No need to have aliases
for the same thing (unification is the name).
- New macro for Johannes mysqlnd_stmt_ro_result_metadata
Diffstat (limited to 'ext/mysqlnd/mysqlnd_wireprotocol.h')
-rw-r--r-- | ext/mysqlnd/mysqlnd_wireprotocol.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/mysqlnd/mysqlnd_wireprotocol.h b/ext/mysqlnd/mysqlnd_wireprotocol.h index 3219917e06..30d4ab90e5 100644 --- a/ext/mysqlnd/mysqlnd_wireprotocol.h +++ b/ext/mysqlnd/mysqlnd_wireprotocol.h @@ -173,8 +173,8 @@ typedef struct st_php_mysql_packet_auth { typedef struct st_php_mysql_packet_ok { mysqlnd_packet_header header; mysqlnd_1b field_count; /* always 0x0 */ - mynd_ulonglong affected_rows; - mynd_ulonglong last_insert_id; + uint64 affected_rows; + uint64 last_insert_id; mysqlnd_2b server_status; mysqlnd_2b warning_count; char *message; @@ -225,8 +225,8 @@ typedef struct st_php_mysql_packet_rset_header { */ mysqlnd_2b warning_count; mysqlnd_2b server_status; - mynd_ulonglong affected_rows; - mynd_ulonglong last_insert_id; + uint64 affected_rows; + uint64 last_insert_id; /* This is for both LOAD DATA or info, when no result set */ char *info_or_local_file; size_t info_or_local_file_len; @@ -319,7 +319,7 @@ size_t php_mysqlnd_consume_uneaten_data(MYSQLND * const conn, enum php_mysqlnd_s void php_mysqlnd_scramble(zend_uchar * const buffer, const zend_uchar * const scramble, const zend_uchar * const pass); unsigned long php_mysqlnd_net_field_length(zend_uchar **packet); -zend_uchar * php_mysqlnd_net_store_length(zend_uchar *packet, mynd_ulonglong length); +zend_uchar * php_mysqlnd_net_store_length(zend_uchar *packet, uint64 length); extern char * const mysqlnd_empty_string; |