mirror of
https://github.com/percona/percona-toolkit.git
synced 2026-04-17 01:01:39 +08:00
Add forked Maatkit tools in bin/ and their tests in t/.
This commit is contained in:
3
t/pt-upgrade/samples/002/no-db.log
Normal file
3
t/pt-upgrade/samples/002/no-db.log
Normal file
@@ -0,0 +1,3 @@
|
||||
# User@Host: root[root] @ localhost []
|
||||
# Query_time: 1 Lock_time: 0 Rows_sent: 1 Rows_examined: 1
|
||||
select i from t where i is not null
|
||||
42
t/pt-upgrade/samples/002/report-01.txt
Normal file
42
t/pt-upgrade/samples/002/report-01.txt
Normal file
@@ -0,0 +1,42 @@
|
||||
|
||||
# Query 1: ID 0x3C830E3839B916D7 at byte 0 _______________________________
|
||||
# Found 1 differences in 1 samples:
|
||||
# column counts 0
|
||||
# column types 0
|
||||
# column values 0
|
||||
# row counts 1
|
||||
# warning counts 0
|
||||
# warning levels 0
|
||||
# warnings 0
|
||||
# 127.1:12345 127.1:12347
|
||||
# Errors 0 0
|
||||
# Warnings 0 0
|
||||
# Query_time
|
||||
# sum 0 0
|
||||
# min 0 0
|
||||
# max 0 0
|
||||
# avg 0 0
|
||||
# pct_95 0 0
|
||||
# stddev 0 0
|
||||
# median 0 0
|
||||
# row_count
|
||||
# sum 4 3
|
||||
# min 4 3
|
||||
# max 4 3
|
||||
# avg 4 3
|
||||
# pct_95 4 3
|
||||
# stddev 0 0
|
||||
# median 4 3
|
||||
use `test`;
|
||||
select i from t where i is not null
|
||||
|
||||
/* 3C830E3839B916D7-1 */ select i from t where i is not null
|
||||
|
||||
|
||||
# Row count differences
|
||||
# Query ID 127.1:12345 127.1:12347
|
||||
# ================== =========== ===========
|
||||
# 3C830E3839B916D7-1 4 3
|
||||
|
||||
# Statistics
|
||||
# events 1
|
||||
8
t/pt-upgrade/samples/002/tables.sql
Normal file
8
t/pt-upgrade/samples/002/tables.sql
Normal file
@@ -0,0 +1,8 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user