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

Crash in Field_string::type_handler when calling procedures

    XMLWordPrintable

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

          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.