@@ -144,10 +144,10 @@ enum Exit_status {
144144 OK_STOP
145145};
146146
147- #ifdef HAVE_UGID
148- static char *opt_include_ugids_str , *opt_exclude_ugids_str ;
149- static char *opt_first_lgid_str = NULL , *opt_last_lgid_str = NULL ;
150- static my_bool opt_skip_ugids = 0 ;
147+ #ifdef HAVE_GTID
148+ static char *opt_include_gtids_str , *opt_exclude_gtids_str ;
149+ static char *opt_first_ltid_str = NULL , *opt_last_ltid_str = NULL ;
150+ static my_bool opt_skip_gtids = 0 ;
151151#endif
152152
153153static Exit_status dump_local_log_entries (PRINT_EVENT_INFO *print_event_info,
@@ -1201,27 +1201,27 @@ static struct my_option my_long_options[] =
12011201 /* def_value 4GB */ UINT_MAX, /* min_value */ 256 ,
12021202 /* max_value */ ULONG_MAX, /* sub_size */ 0 ,
12031203 /* block_size */ 256 , /* app_type */ 0 },
1204- #ifdef HAVE_UGID
1205- {" skip-ugids " , OPT_MYSQLBINLOG_SKIP_UGIDS ,
1206- " Do not print universal group identifier information "
1207- " (SET UGID_NEXT =... etc)." ,
1208- &opt_skip_ugids , &opt_skip_ugids , 0 ,
1204+ #ifdef HAVE_GTID
1205+ {" skip-gtids " , OPT_MYSQLBINLOG_SKIP_GTIDS ,
1206+ " Do not print Global Transaction Identifier information "
1207+ " (SET GTID_NEXT =... etc)." ,
1208+ &opt_skip_gtids , &opt_skip_gtids , 0 ,
12091209 GET_BOOL, NO_ARG, 0 , 0 , 0 , 0 , 0 , 0 },
1210- {" include-ugids " , OPT_MYSQLBINLOG_INCLUDE_UGIDS ,
1211- " Include only the given universal group identifiers ." ,
1212- &opt_include_ugids_str , &opt_include_ugids_str , 0 ,
1210+ {" include-gtids " , OPT_MYSQLBINLOG_INCLUDE_GTIDS ,
1211+ " Include only the given Global Transaction Identifiers ." ,
1212+ &opt_include_gtids_str , &opt_include_gtids_str , 0 ,
12131213 GET_STR_ALLOC, REQUIRED_ARG, 0 , 0 , 0 , 0 , 0 , 0 },
1214- {" exclude-ugids " , OPT_MYSQLBINLOG_EXCLUDE_UGIDS ,
1215- " Print all but the given universal group identifiers ." ,
1216- &opt_exclude_ugids_str , &opt_exclude_ugids_str , 0 ,
1214+ {" exclude-gtids " , OPT_MYSQLBINLOG_EXCLUDE_GTIDS ,
1215+ " Print all but the given Global Transaction Identifiers ." ,
1216+ &opt_exclude_gtids_str , &opt_exclude_gtids_str , 0 ,
12171217 GET_STR_ALLOC, REQUIRED_ARG, 0 , 0 , 0 , 0 , 0 , 0 },
1218- {" first-lgid " , OPT_MYSQLBINLOG_FIRST_LGID ,
1219- " Ignore groups before the given Local Group ID ." ,
1220- &opt_first_lgid_str , &opt_first_lgid_str , 0 ,
1218+ {" first-ltid " , OPT_MYSQLBINLOG_FIRST_LTID ,
1219+ " Ignore groups before the given Local Transaction Identifier ." ,
1220+ &opt_first_ltid_str , &opt_first_ltid_str , 0 ,
12211221 GET_STR_ALLOC, REQUIRED_ARG, 0 , 0 , 0 , 0 , 0 , 0 },
1222- {" last-lgid " , OPT_MYSQLBINLOG_LAST_LGID ,
1223- " Ignore groups after the given Local Group ID ." ,
1224- &opt_last_lgid_str , &opt_last_lgid_str , 0 ,
1222+ {" last-ltid " , OPT_MYSQLBINLOG_LAST_LTID ,
1223+ " Ignore groups after the given Local Transaction Identifier ." ,
1224+ &opt_last_ltid_str , &opt_last_ltid_str , 0 ,
12251225 GET_STR_ALLOC, REQUIRED_ARG, 0 , 0 , 0 , 0 , 0 , 0 },
12261226#endif
12271227 {0 , 0 , 0 , 0 , 0 , 0 , GET_NO_ARG, NO_ARG, 0 , 0 , 0 , 0 , 0 , 0 }
@@ -2362,5 +2362,5 @@ int main(int argc, char** argv)
23622362#include " zreturn.cc"
23632363#include " zsubgroup_coder.cc"
23642364#include " zuuid.cc"
2365- #include " zgroup_set .cc"
2365+ #include " zgtid_set .cc"
23662366#include " zgroup.cc"
0 commit comments