mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-22 03:44:55 +00:00
Add forked Maatkit tools in bin/ and their tests in t/.
This commit is contained in:
106
t/pt-upgrade/samples/001/non-selects-rewritten.txt
Normal file
106
t/pt-upgrade/samples/001/non-selects-rewritten.txt
Normal file
@@ -0,0 +1,106 @@
|
||||
|
||||
# Query 1: ID 0xC11622E1B2607157 at byte 0 _______________________________
|
||||
# Found 0 differences in 1 samples:
|
||||
# checksums 0
|
||||
# column counts 0
|
||||
# column types 0
|
||||
# row counts 0
|
||||
# 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 7 7
|
||||
# min 7 7
|
||||
# max 7 7
|
||||
# avg 7 7
|
||||
# pct_95 7 7
|
||||
# stddev 0 0
|
||||
# median 7 7
|
||||
# Converted non-SELECT:
|
||||
# delete from t where id is not null
|
||||
# Fingerprint
|
||||
# select * from t where id is not ?
|
||||
select * from t where id is not null
|
||||
|
||||
# Query 2: ID 0xD7D2F2B7AB4602A4 at byte 0 _______________________________
|
||||
# Found 0 differences in 1 samples:
|
||||
# checksums 0
|
||||
# column counts 0
|
||||
# column types 0
|
||||
# row counts 0
|
||||
# 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 2 2
|
||||
# min 2 2
|
||||
# max 2 2
|
||||
# avg 2 2
|
||||
# pct_95 2 2
|
||||
# stddev 0 0
|
||||
# median 2 2
|
||||
# Fingerprint
|
||||
# select id from test.t where id > ?
|
||||
use `test`;
|
||||
select id from test.t where id > 3
|
||||
|
||||
# Query 3: ID 0x37BA5C52702C61C6 at byte 0 _______________________________
|
||||
# Found 0 differences in 1 samples:
|
||||
# checksums 0
|
||||
# column counts 0
|
||||
# column types 0
|
||||
# row counts 0
|
||||
# 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 1 1
|
||||
# min 1 1
|
||||
# max 1 1
|
||||
# avg 1 1
|
||||
# pct_95 1 1
|
||||
# stddev 0 0
|
||||
# median 1 1
|
||||
# Converted non-SELECT:
|
||||
# update t set name='changed' where id=0
|
||||
# Fingerprint
|
||||
# select name=? from t where id=?
|
||||
select name='changed' from t where id=0
|
||||
|
||||
# Statistics
|
||||
# convert_to_select_failed 2
|
||||
# convert_to_select_ok 2
|
||||
# events 5
|
16
t/pt-upgrade/samples/001/non-selects.log
Normal file
16
t/pt-upgrade/samples/001/non-selects.log
Normal file
@@ -0,0 +1,16 @@
|
||||
# User@Host: root[root] @ localhost []
|
||||
# Query_time: 1 Lock_time: 0 Rows_sent: 1 Rows_examined: 1
|
||||
use test;
|
||||
select id from test.t where id > 3;
|
||||
# User@Host: root[root] @ localhost []
|
||||
# Query_time: 1 Lock_time: 0 Rows_sent: 1 Rows_examined: 1
|
||||
insert into t values (9, 'nine', now());
|
||||
# User@Host: root[root] @ localhost []
|
||||
# Query_time: 1 Lock_time: 0 Rows_sent: 1 Rows_examined: 1
|
||||
update t set name='changed' where id=0;
|
||||
# User@Host: root[root] @ localhost []
|
||||
# Query_time: 1 Lock_time: 0 Rows_sent: 1 Rows_examined: 1
|
||||
delete from t where id is not null;
|
||||
# User@Host: root[root] @ localhost []
|
||||
# Query_time: 1 Lock_time: 0 Rows_sent: 1 Rows_examined: 1
|
||||
truncate table t;
|
35
t/pt-upgrade/samples/001/non-selects.txt
Normal file
35
t/pt-upgrade/samples/001/non-selects.txt
Normal file
@@ -0,0 +1,35 @@
|
||||
|
||||
# Query 1: ID 0xD7D2F2B7AB4602A4 at byte 0 _______________________________
|
||||
# Found 0 differences in 1 samples:
|
||||
# checksums 0
|
||||
# column counts 0
|
||||
# column types 0
|
||||
# row counts 0
|
||||
# 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 2 2
|
||||
# min 2 2
|
||||
# max 2 2
|
||||
# avg 2 2
|
||||
# pct_95 2 2
|
||||
# stddev 0 0
|
||||
# median 2 2
|
||||
use `test`;
|
||||
select id from test.t where id > 3
|
||||
|
||||
# Statistics
|
||||
# events 5
|
||||
# not_select 4
|
63
t/pt-upgrade/samples/001/one-error-no-clear-warnings.txt
Normal file
63
t/pt-upgrade/samples/001/one-error-no-clear-warnings.txt
Normal file
@@ -0,0 +1,63 @@
|
||||
|
||||
# Query 1: ID 0x3B323396273BC4C7 at byte 0 _______________________________
|
||||
# Found 0 differences in 1 samples:
|
||||
# column counts 0
|
||||
# column types 0
|
||||
# column values 0
|
||||
# row counts 0
|
||||
# warning counts 0
|
||||
# warning levels 0
|
||||
# warnings 0
|
||||
# P=12345,h=127.1,p=...,u=msandbox P=12347,h=127.1,p=...,u=msandbox
|
||||
# Errors 1 1
|
||||
# Warnings 1 1
|
||||
# Query_time
|
||||
# sum 0 0
|
||||
# min 0 0
|
||||
# max 0 0
|
||||
# avg 0 0
|
||||
# pct_95 0 0
|
||||
# stddev 0 0
|
||||
# median 0 0
|
||||
select borked
|
||||
/* 3B323396273BC4C7-1 */ select borked
|
||||
|
||||
# Query 2: ID 0x30B1FA07C660C2A8 at byte 0 _______________________________
|
||||
# Found 0 differences in 2 samples:
|
||||
# column counts 0
|
||||
# column types 0
|
||||
# column values 0
|
||||
# row counts 0
|
||||
# warning counts 0
|
||||
# warning levels 0
|
||||
# warnings 0
|
||||
# P=12345,h=127.1,p=...,u=msandbox P=12347,h=127.1,p=...,u=msandbox
|
||||
# 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 2 2
|
||||
# min 1 1
|
||||
# max 1 1
|
||||
# avg 1 1
|
||||
# pct_95 1 1
|
||||
# stddev 0 0
|
||||
# median 1 1
|
||||
select * from t where name='jane'
|
||||
|
||||
# Errors
|
||||
# Query ID Host Error
|
||||
# ================== ================================ ========================
|
||||
# 3B323396273BC4C7-1 P=12347,h=127.1,p=...,u=msandbox Failed to execute query: DBD::mysql::st execute failed: Unknown column 'borked' in 'field list' [for Statement "select borked"] at mk-upgrade line 0, <$fh> line 2.
|
||||
|
||||
# Statistics
|
||||
# CompareResults_after_execute_skipped 2
|
||||
# CompareResults_execute_error 2
|
||||
# events 3
|
10
t/pt-upgrade/samples/001/one-error.log
Normal file
10
t/pt-upgrade/samples/001/one-error.log
Normal file
@@ -0,0 +1,10 @@
|
||||
# User@Host: root[root] @ localhost []
|
||||
# Query_time: 1 Lock_time: 0 Rows_sent: 0 Rows_examined: 0
|
||||
use test;
|
||||
select * from t where name='bob';
|
||||
# User@Host: root[root] @ localhost []
|
||||
# Query_time: 1 Lock_time: 0 Rows_sent: 0 Rows_examined: 0
|
||||
select borked;
|
||||
# User@Host: root[root] @ localhost []
|
||||
# Query_time: 1 Lock_time: 0 Rows_sent: 1 Rows_examined: 1
|
||||
select * from t where name='jane';
|
66
t/pt-upgrade/samples/001/one-error.txt
Normal file
66
t/pt-upgrade/samples/001/one-error.txt
Normal file
@@ -0,0 +1,66 @@
|
||||
|
||||
# Query 1: ID 0x3B323396273BC4C7 at byte 0 _______________________________
|
||||
# Found 0 differences in 1 samples:
|
||||
# column counts 0
|
||||
# column types 0
|
||||
# column values 0
|
||||
# row counts 0
|
||||
# warning counts 0
|
||||
# warning levels 0
|
||||
# warnings 0
|
||||
# P=12345,h=127.1,p=...,u=msandbox P=12347,h=127.1,p=...,u=msandbox
|
||||
# Errors 1 1
|
||||
# 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
|
||||
select borked
|
||||
/* 3B323396273BC4C7-1 */ select borked
|
||||
|
||||
# Query 2: ID 0x30B1FA07C660C2A8 at byte 0 _______________________________
|
||||
# Found 0 differences in 2 samples:
|
||||
# column counts 0
|
||||
# column types 0
|
||||
# column values 0
|
||||
# row counts 0
|
||||
# warning counts 0
|
||||
# warning levels 0
|
||||
# warnings 0
|
||||
# P=12345,h=127.1,p=...,u=msandbox P=12347,h=127.1,p=...,u=msandbox
|
||||
# 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 2 2
|
||||
# min 1 1
|
||||
# max 1 1
|
||||
# avg 1 1
|
||||
# pct_95 1 1
|
||||
# stddev 0 0
|
||||
# median 1 1
|
||||
select * from t where name='jane'
|
||||
|
||||
# Errors
|
||||
# Query ID Host Error
|
||||
# ================== ================================ ========================
|
||||
# 3B323396273BC4C7-1 P=12347,h=127.1,p=...,u=msandbox Failed to execute query: DBD::mysql::st execute failed: Unknown column 'borked' in 'field list' [for Statement "select borked"] at ../mk-upgrade line 7059, <$fh> line 2.
|
||||
|
||||
# Statistics
|
||||
# CompareResults_after_execute_skipped 2
|
||||
# CompareResults_execute_error 2
|
||||
# CompareWarnings_after_execute_skipped 2
|
||||
# CompareWarnings_before_execute_error 2
|
||||
# CompareWarnings_execute_skipped 2
|
||||
# events 3
|
3
t/pt-upgrade/samples/001/select-everyone-no-queries.txt
Normal file
3
t/pt-upgrade/samples/001/select-everyone-no-queries.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
|
||||
# Statistics
|
||||
# events 7
|
30
t/pt-upgrade/samples/001/select-everyone-no-stats.txt
Normal file
30
t/pt-upgrade/samples/001/select-everyone-no-stats.txt
Normal file
@@ -0,0 +1,30 @@
|
||||
|
||||
# Query 1: ID 0x4AF1501167533D97 at byte 0 _______________________________
|
||||
# Found 0 differences in 7 samples:
|
||||
# checksums 0
|
||||
# column counts 0
|
||||
# column types 0
|
||||
# row counts 0
|
||||
# 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 7 7
|
||||
# min 1 1
|
||||
# max 1 1
|
||||
# avg 1 1
|
||||
# pct_95 1 1
|
||||
# stddev 0 0
|
||||
# median 1 1
|
||||
select id, name, last_login from test.t where id=5
|
33
t/pt-upgrade/samples/001/select-everyone-rows.txt
Normal file
33
t/pt-upgrade/samples/001/select-everyone-rows.txt
Normal file
@@ -0,0 +1,33 @@
|
||||
|
||||
# Query 1: ID 0x4AF1501167533D97 at byte 0 _______________________________
|
||||
# Found 0 differences in 7 samples:
|
||||
# column counts 0
|
||||
# column types 0
|
||||
# column values 0
|
||||
# row counts 0
|
||||
# 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 7 7
|
||||
# min 1 1
|
||||
# max 1 1
|
||||
# avg 1 1
|
||||
# pct_95 1 1
|
||||
# stddev 0 0
|
||||
# median 1 1
|
||||
select id, name, last_login from test.t where id=5
|
||||
|
||||
# Statistics
|
||||
# events 7
|
22
t/pt-upgrade/samples/001/select-everyone.log
Normal file
22
t/pt-upgrade/samples/001/select-everyone.log
Normal file
@@ -0,0 +1,22 @@
|
||||
# User@Host: root[root] @ localhost []
|
||||
# Query_time: 1 Lock_time: 0 Rows_sent: 1 Rows_examined: 1
|
||||
use test;
|
||||
select id, name, last_login from test.t where id=-1;
|
||||
# User@Host: root[root] @ localhost []
|
||||
# Query_time: 1 Lock_time: 0 Rows_sent: 1 Rows_examined: 1
|
||||
select id, name, last_login from test.t where id=0;
|
||||
# User@Host: root[root] @ localhost []
|
||||
# Query_time: 1 Lock_time: 0 Rows_sent: 1 Rows_examined: 1
|
||||
select id, name, last_login from test.t where id=1;
|
||||
# User@Host: root[root] @ localhost []
|
||||
# Query_time: 1 Lock_time: 0 Rows_sent: 1 Rows_examined: 1
|
||||
select id, name, last_login from test.t where id=2;
|
||||
# User@Host: root[root] @ localhost []
|
||||
# Query_time: 1 Lock_time: 0 Rows_sent: 1 Rows_examined: 1
|
||||
select id, name, last_login from test.t where id=3;
|
||||
# User@Host: root[root] @ localhost []
|
||||
# Query_time: 1 Lock_time: 0 Rows_sent: 1 Rows_examined: 1
|
||||
select id, name, last_login from test.t where id=4;
|
||||
# User@Host: root[root] @ localhost []
|
||||
# Query_time: 1 Lock_time: 0 Rows_sent: 1 Rows_examined: 1
|
||||
select id, name, last_login from test.t where id=5;
|
33
t/pt-upgrade/samples/001/select-everyone.txt
Normal file
33
t/pt-upgrade/samples/001/select-everyone.txt
Normal file
@@ -0,0 +1,33 @@
|
||||
|
||||
# Query 1: ID 0x4AF1501167533D97 at byte 0 _______________________________
|
||||
# Found 0 differences in 7 samples:
|
||||
# checksums 0
|
||||
# column counts 0
|
||||
# column types 0
|
||||
# row counts 0
|
||||
# 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 7 7
|
||||
# min 1 1
|
||||
# max 1 1
|
||||
# avg 1 1
|
||||
# pct_95 1 1
|
||||
# stddev 0 0
|
||||
# median 1 1
|
||||
select id, name, last_login from test.t where id=5
|
||||
|
||||
# Statistics
|
||||
# events 7
|
34
t/pt-upgrade/samples/001/select-one-rows.txt
Normal file
34
t/pt-upgrade/samples/001/select-one-rows.txt
Normal file
@@ -0,0 +1,34 @@
|
||||
|
||||
# Query 1: ID 0x4AF1501167533D97 at byte 0 _______________________________
|
||||
# Found 0 differences in 1 samples:
|
||||
# column counts 0
|
||||
# column types 0
|
||||
# column values 0
|
||||
# row counts 0
|
||||
# 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 1 1
|
||||
# min 1 1
|
||||
# max 1 1
|
||||
# avg 1 1
|
||||
# pct_95 1 1
|
||||
# stddev 0 0
|
||||
# median 1 1
|
||||
use `test`;
|
||||
select id, name, last_login from test.t where id=0
|
||||
|
||||
# Statistics
|
||||
# events 1
|
4
t/pt-upgrade/samples/001/select-one.log
Normal file
4
t/pt-upgrade/samples/001/select-one.log
Normal file
@@ -0,0 +1,4 @@
|
||||
# User@Host: root[root] @ localhost []
|
||||
# Query_time: 1 Lock_time: 0 Rows_sent: 1 Rows_examined: 1
|
||||
use test;
|
||||
select id, name, last_login from test.t where id=0;
|
34
t/pt-upgrade/samples/001/select-one.txt
Normal file
34
t/pt-upgrade/samples/001/select-one.txt
Normal file
@@ -0,0 +1,34 @@
|
||||
|
||||
# Query 1: ID 0x4AF1501167533D97 at byte 0 _______________________________
|
||||
# Found 0 differences in 1 samples:
|
||||
# checksums 0
|
||||
# column counts 0
|
||||
# column types 0
|
||||
# row counts 0
|
||||
# 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 1 1
|
||||
# min 1 1
|
||||
# max 1 1
|
||||
# avg 1 1
|
||||
# pct_95 1 1
|
||||
# stddev 0 0
|
||||
# median 1 1
|
||||
use `test`;
|
||||
select id, name, last_login from test.t where id=0
|
||||
|
||||
# Statistics
|
||||
# events 1
|
18
t/pt-upgrade/samples/001/tables.sql
Normal file
18
t/pt-upgrade/samples/001/tables.sql
Normal file
@@ -0,0 +1,18 @@
|
||||
DROP DATABASE IF EXISTS test;
|
||||
CREATE DATABASE test;
|
||||
USE test;
|
||||
DROP TABLE IF EXISTS t;
|
||||
CREATE TABLE `t` (
|
||||
`id` int(10) NOT NULL,
|
||||
`name` varchar(255) 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');
|
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