Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-15377 10.2+ Integer DEFAULT values missing quotes
  3. MDEV-15407

DEFAULT NULL forced when no DEFAULT set on NULL-able column

    XMLWordPrintable

Details

    • Technical task
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 10.2(EOL)
    • N/A
    • Documentation, Server
    • None
    • GNU/Linux

    Description

      Now this starts to smell.
      If a column is defined as NULL-able, 10.2 will automatically append DEFAULT NULL to create statements.

      10.2

        `description` text COLLATE utf8_bin DEFAULT NULL
      

      10.0

       `description` text COLLATE utf8_bin
      

      Originally the column does not have DEFAULT value set at all!

      Basically table exported from 10.2 will not work in a same way on MariaDB 10.0 or MySQL servers.

      Attachments

        Issue Links

          Activity

            People

              greenman Ian Gilfillan
              stamster Nemanja Stambolic
              Votes:
              0 Vote for this issue
              Watchers:
              3 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.