• unknown's avatar
    patch · c2a84d5f
    unknown authored
    
    client/mysqldump.c:
      Add description of quote_for_like
      Add quoting of \ to \\\\ in quote_for_like
      Add DBUG_*
      Rearranged code in dump_selected_tables so the first thing it will do is to check that the tables to dump are available
      Unless --force is used, program will exit if not all specified tables can be found
      Add files to dump to HASH table for easy iteration
      Simpler handling of ignore_table list.
      Add new error code used when table user selected to dump  can not be found in db
    client/mysqltest.c:
      Make it possible to exec a command that fails by setting --error <errno> before the command to exec.
      Check that the error returned from executed program matches the expected error.
      Add DBUG_* printouts
    mysql-test/mysql-test-run.sh:
      export MYSQL_DUMP_DIR used in "--replace_result"
    mysql-test/r/mysqldump.result:
      Added test for illegal / nonexisting table and database names
    mysql-test/t/mysqldump.test:
      Added test for illegal / nonexisting table and database names
    c2a84d5f
mysqldump.result 75.4 KB