mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-16 08:17:20 +00:00
Test pt-upgrade host-to-host. Implement diff_query_times(). Export $test_diff from PerconaTest instead of doing diag() in no_diff().
This commit is contained in:
@@ -1,18 +1,16 @@
|
||||
DROP DATABASE IF EXISTS test;
|
||||
CREATE DATABASE test;
|
||||
USE test;
|
||||
DROP TABLE IF EXISTS t;
|
||||
CREATE TABLE `t` (
|
||||
`id` int(10) NOT NULL,
|
||||
`username` varchar(32) default NULL,
|
||||
`last_login` datetime default NULL,
|
||||
CREATE TABLE t (
|
||||
id int(10) NOT NULL AUTO_INCREMENT,
|
||||
username varchar(8) default NULL,
|
||||
last_login datetime default NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
);
|
||||
INSERT INTO t VALUES
|
||||
(-1, 'banned', '2009-11-06 10:37:17'),
|
||||
(0, 'admin', '2001-11-07 12:01:40'),
|
||||
(1, 'bob', '2009-10-07 10:37:47'),
|
||||
(2, 'jane', '2009-11-07 11:37:97'),
|
||||
(3, 'susan', '2009-04-09 10:00:47'),
|
||||
(4, 'rick', '2009-10-03 10:37:22'),
|
||||
(5, 'tom', '2009-12-07 10:37:74');
|
||||
(null, 'a', '2013-01-01 00:00:01'),
|
||||
(null, 'b', '2013-01-01 00:00:02'),
|
||||
(null, 'c', '2013-01-01 00:00:03'),
|
||||
(null, 'd', '2013-01-01 00:00:04'),
|
||||
(null, 'e', '2013-01-01 00:00:05'),
|
||||
(null, 'f', '2013-01-01 00:00:06');
|
||||
|
Reference in New Issue
Block a user