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

Add full support for DEFAULT

    XMLWordPrintable

Details

    Description

      Add full support for DEFAULT

      • Support for functions: DEFAULT (1+1)
      • Referring to previous fields in the table
      • Support for DEFAULT for blobs

      In addition this task will lift the current restrictions for virtual columns:

      • Non stored virtual columns can have almost any expression (including constant expression)
      • No 300 character limit. (Limit is 64K for all stored expressions + column definitions)

      Example:

      create table t1 (a bigint default uuid_short(), b blob DEFAULT "look at me!" NOT NULL);

      Attachments

        Issue Links

          Activity

            People

              monty Michael Widenius
              monty Michael Widenius
              Votes:
              1 Vote for this issue
              Watchers:
              5 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.