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

Interplay between function based default and lock tables

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 10.3.15
    • Fix Version/s: N/A
    • Component/s: Locking
    • Labels:
      None
    • Environment:
      CentOS 7
      Windows 10 1803

      Description

      When you lock a table which has a column set to get a default value from a function and insert into that table after locking MariaDB segfaults.

      Attached File Name Includes function based default Includes lock statement Causes Segfault
      seqfault.sql Yes Yes Yes
      without_lock.sql Yes No No
      without_default No Yes No

        Attachments

        1. seqfault.sql
          0.4 kB
        2. without_lock.sql
          0.4 kB
        3. without_default.sql
          0.3 kB

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              sgcit SGC IT
              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.