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

REFERENCES syntax in CREATE TABLE

    XMLWordPrintable

Details

    Description

      After all these years, sometimes I still see people who use the REFERENCES syntax to create foreign keys:

      col_name col_type REFERENCES tab_name (col_name)

      The problem is that they may think that a foreign key is created, until they realize that data is inconsistent.

      Please, consider producing a warning when this syntax is used. Or maybe support the syntax.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              f_razzoli Federico Razzoli
              Votes:
              0 Vote for this issue
              Watchers:
              2 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.