diff options
| author | Andrey Hristov <andrey@php.net> | 2015-10-30 11:35:58 +0100 |
|---|---|---|
| committer | Andrey Hristov <andrey@php.net> | 2015-11-12 16:19:16 +0100 |
| commit | 4bb784cd0d80c330364cdfebc824a434cc27f05a (patch) | |
| tree | 5fcc635378f27fed558af3d79491d84d991779a1 /ext/mysqlnd/mysqlnd_wireprotocol.h | |
| parent | fb1b5abe319cbb032d0de01938eff55f95a78650 (diff) | |
| download | php-git-4bb784cd0d80c330364cdfebc824a434cc27f05a.tar.gz | |
MNDR:
- make MYSQLND_ERROR_INFO a class
Diffstat (limited to 'ext/mysqlnd/mysqlnd_wireprotocol.h')
| -rw-r--r-- | ext/mysqlnd/mysqlnd_wireprotocol.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mysqlnd/mysqlnd_wireprotocol.h b/ext/mysqlnd/mysqlnd_wireprotocol.h index e42a5e2e6c..7dd318e20b 100644 --- a/ext/mysqlnd/mysqlnd_wireprotocol.h +++ b/ext/mysqlnd/mysqlnd_wireprotocol.h @@ -36,8 +36,8 @@ PHPAPI extern const char mysqlnd_read_body_name[]; /* Packet handling */ -#define PACKET_WRITE(packet, conn) ((packet)->header.m->write_to_net((packet))) -#define PACKET_READ(packet, conn) ((packet)->header.m->read_from_net((packet))) +#define PACKET_WRITE(packet) ((packet)->header.m->write_to_net((packet))) +#define PACKET_READ(packet) ((packet)->header.m->read_from_net((packet))) #define PACKET_FREE(packet) \ do { \ DBG_INF_FMT("PACKET_FREE(%p)", packet); \ |
