mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-27 16:12:04 +00:00
Add failing unit test.
This commit is contained in:
@@ -111,6 +111,20 @@ test_diff (
|
|||||||
],
|
],
|
||||||
);
|
);
|
||||||
|
|
||||||
|
# #############################################################################
|
||||||
|
# https://bugs.launchpad.net/percona-toolkit/+bug/1168434
|
||||||
|
# pt-upgrade reports differences on NULL
|
||||||
|
# #############################################################################
|
||||||
|
|
||||||
|
$sb->load_file('master', "t/pt-upgrade/samples/007/tables.sql");
|
||||||
|
|
||||||
|
test_diff(
|
||||||
|
name => 'Bug 1168434: no diff with NULL',
|
||||||
|
query1 => 'select * from test.t order by id',
|
||||||
|
query2 => 'select * from test.t order by id',
|
||||||
|
expect => [],
|
||||||
|
);
|
||||||
|
|
||||||
# #############################################################################
|
# #############################################################################
|
||||||
# Done.
|
# Done.
|
||||||
# #############################################################################
|
# #############################################################################
|
||||||
|
Reference in New Issue
Block a user