mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-10 21:19:59 +00:00
Tweak tests to recreate the original problem.
This commit is contained in:
@@ -196,7 +196,9 @@ $sb->load_file('master1', "$sample/004/tables.sql");
|
||||
|
||||
ok(
|
||||
no_diff(
|
||||
sub { pt_upgrade::main(@args, "$log/004/select-func.log") },
|
||||
sub { pt_upgrade::main(@args,
|
||||
qw(--compare-results-method rows),
|
||||
"$log/004/select-func.log") },
|
||||
"$sample/004/select-func.txt",
|
||||
),
|
||||
'SELECT FUNC() (bug 1060774)'
|
||||
|
@@ -1,4 +1,4 @@
|
||||
# User@Host: root[root] @ localhost []
|
||||
# Query_time: 1 Lock_time: 0 Rows_sent: 1 Rows_examined: 1
|
||||
use test;
|
||||
SELECT (UNIX_TIMESTAMP(NOW()) - UNIX_TIMESTAMP('2012-09-16 10:16:36')) / 60;
|
||||
SELECT (UNIX_TIMESTAMP(NOW()) - UNIX_TIMESTAMP('2012-09-16 10:16:36')) / 60, SLEEP(1);
|
||||
|
Reference in New Issue
Block a user