diff options
author | Andrey Hristov <andrey@php.net> | 2008-01-23 19:11:28 +0000 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 2008-01-23 19:11:28 +0000 |
commit | c52b63ea1d629850e51d05c1b0de126e8b9c4308 (patch) | |
tree | 99b1e944029b8a10a065244a9e25c5d407724061 /ext/mysqlnd/mysqlnd_wireprotocol.h | |
parent | 0095544c4d276667acc9a4100c8268d619ee1f9f (diff) | |
download | php-git-c52b63ea1d629850e51d05c1b0de126e8b9c4308.tar.gz |
Merge with internal version
Diffstat (limited to 'ext/mysqlnd/mysqlnd_wireprotocol.h')
-rw-r--r-- | ext/mysqlnd/mysqlnd_wireprotocol.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/mysqlnd/mysqlnd_wireprotocol.h b/ext/mysqlnd/mysqlnd_wireprotocol.h index 30d4ab90e5..d9c733428d 100644 --- a/ext/mysqlnd/mysqlnd_wireprotocol.h +++ b/ext/mysqlnd/mysqlnd_wireprotocol.h @@ -157,13 +157,13 @@ typedef struct st_php_mysql_packet_auth { uint32 max_packet_size; mysqlnd_1b charset_no; /* 23 byte pad */ - char *user; + const char *user; /* 8 byte scramble */ - char *db; + const char *db; /* 12 byte scramble */ /* Here the packet ends. This is user supplied data */ - char *password; + const char *password; /* +1 for \0 because of scramble() */ unsigned char *server_scramble_buf; size_t db_len; |