Skip to content

Commit 79cbcd9

Browse files
committed
add text for the new constants
1 parent eafe070 commit 79cbcd9

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
@@ -544,6 +544,10 @@ enum mysqlnd_packet_type
544544
};
545545

546546

547+
/*
548+
After adding new elements please update
549+
`mysqlnd_command_to_text` in mysqlnd_wireprotocol.c
550+
*/
547551
enum php_mysqlnd_server_command
548552
{
549553
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)