Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-40294

mariadb-binlog --start/stop-datetime incorrectly accepts over-max timestamps

    XMLWordPrintable

Details

    • Unexpected results

    Description

      mariadb-binlog's --start-datetime and --stop-datetime options accept timetamps beyond the Epocalypse (Y2038 before MDEV-32188, Y2106 after) with no error or warning.
      Additionally, those timestamps incorrectly behave similar to a minimum timestamp rather than a maximum:

      • --start-datetime '6789-10-01 12:34' outputs the entire file rather than skipping most (if not all) events.
      • --stop-datetime '6789-10-01 12:34' outputs no events (as if the file is empty) rather than all of them.

      Attachments

        Issue Links

          Activity

            People

              ParadoxV5 Jimmy Hú
              ParadoxV5 Jimmy Hú
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - 0d
                  0d
                  Remaining:
                  Time Spent - 20m Remaining Estimate - 2.5d
                  2.5d
                  Logged:
                  Time Spent - 20m Remaining Estimate - 2.5d
                  20m

                  Git Integration

                    Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.