title: Unable to use delimiter using script in mariadb
body: <p>I have a script file(named test.sql) in which I have written a loop along with other sql statments prior to the loop as well as after the loop:</p>
  <pre><code>DELIMITER //
  FOR REC IN ( select count(*)from user_preference)
  DO
  UPDATE user_preference SET ID = nextval(USERPREF);
  END FOR;
  //
  DELIMITER ;
  </code></pre>
  <p>The ./sh script contains:</p>
  <pre><code>id: 3.36.0
       comment: user deletion changes
       author: testuser
       changes:
        - sqlFile:
           
           encoding: utf8
  
           path: /db-scripts-${database}/test.sql
           relativeToChangelogFile: true
           splitStatements: true
  </code></pre>
  <p>This script is not working when I am trying to execute it from ./sh file (liquibase) however if I write these statements to the mariadb directly it is getting executed. If anyone can help me understand , why this behaviour ?</p>