31 DBUG_ENTER(
"Gtid_specification::parse");
32 DBUG_ASSERT(text != NULL);
33 if (my_strcasecmp(&my_charset_latin1, text,
"AUTOMATIC") == 0)
35 type= AUTOMATIC_GROUP;
39 else if (my_strcasecmp(&my_charset_latin1, text,
"ANONYMOUS") == 0)
41 type= ANONYMOUS_GROUP;
47 PROPAGATE_REPORTED_ERROR(
gtid.
parse(sid_map, text));
56 DBUG_ENTER(
"Gtid_specification::get_type");
57 DBUG_ASSERT(text != NULL);
58 if (my_strcasecmp(&my_charset_latin1, text,
"AUTOMATIC") == 0)
59 DBUG_RETURN(AUTOMATIC_GROUP);
60 else if (my_strcasecmp(&my_charset_latin1, text,
"ANONYMOUS") == 0)
61 DBUG_RETURN(ANONYMOUS_GROUP);
66 #endif // ifndef MYSQL_CLIENT
71 DBUG_ENTER(
"Gtid_specification::to_string(char*)");
75 strcpy(buf,
"AUTOMATIC");
78 strcpy(buf,
"ANONYMOUS");