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

provide a default value of the current date for date fields

Details

    • Task
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 10.2.2
    • OTHER
    • None

    Description

      Provide a default value for A date field of the current date (like CURDATE()).

      Like:
      d date NOT NULL DEFAULT CURRENT_DATE

      Attachments

        Issue Links

          Activity

            aadant Arnaud Adant added a comment -

            Even if this is not a major feature, a generic framework for defaulting fields would be welcome. A function could be used to initialize fields in general. Calculated default values.

            aadant Arnaud Adant added a comment - Even if this is not a major feature, a generic framework for defaulting fields would be welcome. A function could be used to initialize fields in general. Calculated default values.

            Fixed as part of MDEB-10134

            monty Michael Widenius added a comment - Fixed as part of MDEB-10134

            People

              Unassigned Unassigned
              kjoiner Kyle Joiner (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              4 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.