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

Service does not start if date set beyond Y2038

    XMLWordPrintable

Details

    • Task
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 11.5.1
    • Server
    • None

    Description

      Hello

      You're not going to make timestamps Y2038 compliant. MDEV-341, MDEV-9444

      However, if the system has its current date set beyond Y2038, the service won't start.

      sql/mysqld.cc; line 3461 (mariadb 5.5.60)

      /* TODO: remove this when my_time_t is 64 bit compatible */
      if (!IS_TIME_T_VALID_FOR_TIMESTAMP(server_start_time))
      {
        sql_print_error("This MySQL server doesn't support dates later than 2038");
        return 1;
      }
      

      Attachments

        Issue Links

          Activity

            People

              serg Sergei Golubchik
              mschorm Michal Schorm
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

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