]> granicus.if.org Git - php/commitdiff
add text for the new constants
authorAndrey Hristov <andrey@php.net>
Tue, 28 Jan 2014 13:32:59 +0000 (15:32 +0200)
committerAndrey Hristov <andrey@php.net>
Tue, 28 Jan 2014 13:32:59 +0000 (15:32 +0200)
ext/mysqlnd/mysqlnd_enum_n_def.h
ext/mysqlnd/mysqlnd_wireprotocol.c

index 534ee60142838368413424e85757dcd9d796dc58..709d03fc6214152725d363ea8a49e5f12bfd6d8e 100644 (file)
@@ -544,6 +544,10 @@ enum mysqlnd_packet_type
 };
 
 
+/*
+  After adding new elements please update
+  `mysqlnd_command_to_text` in mysqlnd_wireprotocol.c
+*/
 enum php_mysqlnd_server_command
 {
        COM_SLEEP = 0,
index d4642bc459cd1fc090cc2e91085fb344d5e52371..f3ff8006ae27d617a06c4295221bd1714a660ce3 100644 (file)
@@ -90,7 +90,8 @@ const char * const mysqlnd_command_to_text[COM_END] =
   "TIME", "DELAYED_INSERT", "CHANGE_USER", "BINLOG_DUMP",
   "TABLE_DUMP", "CONNECT_OUT", "REGISTER_SLAVE",
   "STMT_PREPARE", "STMT_EXECUTE", "STMT_SEND_LONG_DATA", "STMT_CLOSE",
-  "STMT_RESET", "SET_OPTION", "STMT_FETCH", "DAEMON"
+  "STMT_RESET", "SET_OPTION", "STMT_FETCH", "DAEMON", "BINLOG_DUMP_GTID",
+  "RESET_CONNECTION"
 };
 /* }}} */