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

Crash in Field_string::type_handler when calling procedures

Details

    Description

      CREATE TABLE t (f INT);
       
      --delimiter $
      CREATE TRIGGER tr AFTER INSERT ON t FOR EACH ROW
          FOR x IN (SELECT * FROM json_table(NULL, '$' COLUMNS(a CHAR(1) path '$.*')) tmp)  
          DO set @a=1; END FOR $
      --delimiter ;
       
      INSERT INTO t () values ();
       
      # Cleanup
      DROP TABLE t;
      

      Attachments

        Activity

          Transition Time In Source Status Execution Times
          Oleksandr Byelkin made transition -
          Open In Progress
          2m 52s 1
          Oleksandr Byelkin made transition -
          In Progress In Review
          16m 38s 1
          Oleksandr Byelkin made transition -
          Stalled In Review
          21h 28m 1
          Sergei Golubchik made transition -
          In Review Stalled
          2d 5h 41m 2
          Oleksandr Byelkin made transition -
          Stalled Closed
          2d 2h 18m 1

          People

            sanja Oleksandr Byelkin
            sanja Oleksandr Byelkin
            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.