Browse Source
Bug#40465 - mysqldump.test does no checking of dump or restore
Bug#40465 - mysqldump.test does no checking of dump or restore
Created new .test file - mysqldump_restore that does test restore from mysqldump output for a limited number of basic cases. Create new .inc file - mysqldump.inc - renames original table and uses mysqldump output to recreate the table, then uses diff_tables.inc to compare the two tables. Backported include/diff_tables.inc to facilitate this testing. New patch incorporating review feedback prior to push. mysqldump.test - removed redundant call to include/have_log_bin.inc (was used twice in the test!)pull/374/head
4 changed files with 21 additions and 22 deletions
-
15mysql-test/include/mysqldump.inc
-
6mysql-test/r/mysqldump_restore.result
-
1mysql-test/t/mysqldump.test
-
21mysql-test/t/mysqldump_restore.test
Write
Preview
Loading…
Cancel
Save
Reference in new issue