Skip to content

How to handle a single element GTID "interval" when requesting a binlog stream #172

@braxtons12

Description

@braxtons12

title pretty much says it all.

How should a single element gtid as in the case of <uuid>:1-5:11:13-42 be handled with mysql_common?

GnoInterval seems to expect them to always be a range of at least two, and simply using e.g. GnoInterval::new(11, 11) will result in a "Malformed GTID set encoding." error when sending the binlog request

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions