mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-15 16:00:23 +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,8 +1,16 @@
|
||||
DROP DATABASE IF EXISTS test;
|
||||
CREATE DATABASE test;
|
||||
USE test;
|
||||
create table t (i int);
|
||||
insert into t values (1), (2), (3);
|
||||
|
||||
DROP DATABASE IF EXISTS tmp_db;
|
||||
CREATE DATABASE tmp_db;
|
||||
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
|
||||
(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