Skip to content

Commit 6b77c3a

Browse files
committed
Merge branch 'PHP-5.4' into PHP-5.5
2 parents a87125c + 79cbcd9 commit 6b77c3a

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

ext/mysqlnd/mysqlnd_enum_n_def.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -561,6 +561,10 @@ enum mysqlnd_packet_type
561561
};
562562

563563

564+
/*
565+
After adding new elements please update
566+
`mysqlnd_command_to_text` in mysqlnd_wireprotocol.c
567+
*/
564568
enum php_mysqlnd_server_command
565569
{
566570
COM_SLEEP = 0,

ext/mysqlnd/mysqlnd_wireprotocol.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ const char * const mysqlnd_command_to_text[COM_END] =
9090
"TIME", "DELAYED_INSERT", "CHANGE_USER", "BINLOG_DUMP",
9191
"TABLE_DUMP", "CONNECT_OUT", "REGISTER_SLAVE",
9292
"STMT_PREPARE", "STMT_EXECUTE", "STMT_SEND_LONG_DATA", "STMT_CLOSE",
93-
"STMT_RESET", "SET_OPTION", "STMT_FETCH", "DAEMON"
93+
"STMT_RESET", "SET_OPTION", "STMT_FETCH", "DAEMON", "BINLOG_DUMP_GTID",
94+
"RESET_CONNECTION"
9495
};
9596
/* }}} */
9697

0 commit comments

Comments
 (0)