• gshchepa/uchum@gleb.loc's avatar
    Fixed bug #30126. · 3e49bbd8
    gshchepa/uchum@gleb.loc authored
    When dumping database from a 4.x server, the mysqldump client
    inserted a delimiter sign inside special commentaries of the form:
      /*!... CREATE DATABASE IF NOT EXISTS ... ;*/
    During restoration that dump file was splitten by delimiter signs on
    the client side, and the rest of some commentary strings was prepended
    to following statements.
    
    The 4x_server_emul test case option has been added for use with the
    DBUG_EXECUTE_IF debugging macro. This option affects debug server
    builds only to emulate particular behavior of a 4.x server for
    the mysqldump client testing. Non-debugging builds are not affected.
    3e49bbd8
mysqldump.c 122 KB