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

mysqltest: errors in source in a loop

Details

    Description

      mysqltest only executes the source command on the first iteration of a loop, after that the sourced file is already in the q_lines cache, so there is no need to read it again. Alas, when ignoring source command, we cannot know what file caused the error.

      a.test

      let $a=0;
      while($a) {
        source $MYSQL_TMP_DIR/b.inc;
        inc $a;
      }
      

      b.inc

      if ($a) {
        sleep 1 2;
      }
      

      Attachments

        Issue Links

          Activity

            serg Sergei Golubchik created issue -
            serg Sergei Golubchik made changes -
            Field Original Value New Value
            serg Sergei Golubchik made changes -
            Attachment l [ 43374 ]
            serg Sergei Golubchik made changes -
            Attachment l [ 43374 ]
            serg Sergei Golubchik made changes -
            Attachment fix [ 43375 ]
            serg Sergei Golubchik made changes -
            serg Sergei Golubchik made changes -
            Fix Version/s 10.4 [ 22408 ]
            serg Sergei Golubchik made changes -
            Workflow MariaDB v3 [ 79764 ] MariaDB v4 [ 140229 ]
            julien.fritsch Julien Fritsch made changes -
            Fix Version/s 10.3 [ 22126 ]

            People

              Unassigned Unassigned
              serg Sergei Golubchik
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.