• Georgi Kodinov's avatar
    Bug #31060: MySQL CLI parser bug 2 · 4b05db5c
    Georgi Kodinov authored
          
    There was a problem when a DELIMITER COMMAND is not the first 
    command on the line. I this case an extra line feed was added
    to the glob buffer and this was causing subsequent attempts 
    to enter this delimiter to fail.
    Fixed by not adding a new line to the glob buffer if the 
    command being added is a DELIMITER
    
    client/mysql.cc:
      Bug #31060: Don't add a new line if DELIMTER is added to
      the glob buffer
    mysql-test/r/mysql.result:
      Bug #31060: test case
    mysql-test/t/mysql.test:
      Bug #31060: test case
    4b05db5c
mysql.cc 133 KB