Add failing test case for SELECT FUNC().

This commit is contained in:
Daniel Nichter
2012-10-17 11:54:28 -06:00
parent 252de18574
commit d8cc620c5f
4 changed files with 21 additions and 0 deletions

View File

@@ -187,6 +187,21 @@ SKIP: {
);
}
# #############################################################################
# SELECT FUNC(), so there are no tables.
# https://bugs.launchpad.net/percona-toolkit/+bug/1060774
# #############################################################################
$sb->load_file('master', "$sample/004/tables.sql");
$sb->load_file('master1', "$sample/004/tables.sql");
ok(
no_diff(
sub { pt_upgrade::main(@args, "$log/004/select-func.log") },
"$sample/004/select-func.txt",
),
'SELECT FUNC() (bug 1060774)'
);
# #############################################################################
# Done.
# #############################################################################