From 4c83582c74f1a553e19635d0b2880d5120fde5ef Mon Sep 17 00:00:00 2001 From: Andrey Hristov Date: Fri, 2 Oct 2015 14:56:27 +0200 Subject: [PATCH] MNDR - enum_mysqlnd_protocol_type -> enum_mysqlnd_session_protocol_type --- ext/mysqlnd/mysqlnd_enum_n_def.h | 4 ++-- ext/mysqlnd/mysqlnd_structs.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ext/mysqlnd/mysqlnd_enum_n_def.h b/ext/mysqlnd/mysqlnd_enum_n_def.h index 8ec6ef7235..8f4bc06ef7 100644 --- a/ext/mysqlnd/mysqlnd_enum_n_def.h +++ b/ext/mysqlnd/mysqlnd_enum_n_def.h @@ -234,7 +234,7 @@ typedef enum mysqlnd_client_option MYSQLND_OPT_AUTH_PROTOCOL = 211 } enum_mysqlnd_client_option; -typedef enum mysqlnd_protocol_type +typedef enum mysqlnd_session_protocol_type { MYSQL_PROTOCOL_DEFAULT = 0, MYSQL_PROTOCOL_TCP, /* all, supported */ @@ -242,7 +242,7 @@ typedef enum mysqlnd_protocol_type MYSQL_PROTOCOL_PIPE, /* win32, not-supported */ MYSQL_PROTOCOL_MEMORY, /* win32, not-supported */ MYSQL_PROTOCOL_LAST -} enum_mysqlnd_protocol_type; +} enum_mysqlnd_session_protocol_type; typedef enum mysqlnd_field_types { diff --git a/ext/mysqlnd/mysqlnd_structs.h b/ext/mysqlnd/mysqlnd_structs.h index 7738b3cbfa..fd3e6e51d1 100644 --- a/ext/mysqlnd/mysqlnd_structs.h +++ b/ext/mysqlnd/mysqlnd_structs.h @@ -179,7 +179,7 @@ typedef struct st_mysqlnd_session_options char * unused2; char * unused3; - enum_mysqlnd_protocol_type protocol; + enum_mysqlnd_session_protocol_type protocol; char *charset_name; /* maximum allowed packet size for communication */ -- 2.40.0