Uploaded image for project: 'Percona Server'
  1. Percona Server
  2. PS-5126

SHOW BINLOG EVENTS FROM <bad offset> is not diagnosed inside Format_description_log_events

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 8.0
    • Fix Version/s: 8.0.13-4
    • Component/s: None

      Description

      CURRENT_TEST: rpl.bug75480
      mysqltest: At line 26: Query 'SHOW BINLOG EVENTS FROM 5' succeeded, should have failed with error '1220'
      

      There are 3 separate cases for SHOW BINLOG EVENTS FROM offset to return ER_ERROR_WHEN_EXECUTING_COMMAND:
      1. At the beginning, inside Format_description_log_events (detected by this commit)
      2. In the middle (detected by code from upstream)
      3. After the last valid offset (https://jira.percona.com/browse/PS-5213)

        Smart Checklist

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  przemyslaw.skibinski Przemyslaw Skibinski
                  Reporter:
                  przemyslaw.skibinski Przemyslaw Skibinski
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 2 days, 2 minutes
                    2d 2m