forked from Percona-QA/percona-qa
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PS-6024 Integrate pquery3 with old pquery framework (Percona-QA#345)
- Loading branch information
1 parent
5cb473b
commit 40d56cb
Showing
6 changed files
with
351 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
SELECT * FROM T1 JOIN T2 ON T1_INT_1 = T2_INT_1 ORDER BY T2_VARCHAR_1 DESC, T1_VARCHAR_1 | ||
SELECT @@VERSION | ||
SELECT * FROM T1 | ||
SELECT NOW() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,23 @@ | ||
SELECT 'put your various queries here'; | ||
SELECT 'one per line'; | ||
SELECT 'these queries will be executed, randomingly picked from this file'; | ||
DROP TABLE IF EXISTS t1; | ||
CREATE TABLE t1 (ID int); | ||
INSERT INTO t1 VALUES (1); | ||
INSERT INTO t1 VALUES (2); | ||
INSERT INTO t1 VALUES (3); | ||
INSERT INTO t1 VALUES (4); | ||
INSERT INTO t1 VALUES (5); | ||
ALTER TABLE t1 ADD PRIMARY KEY pk(ID); | ||
ALTER TABLE t1 DROP PRIMARY KEY; | ||
INSERT INTO t1 SELECT * FROM t1; | ||
DELETE FROM t1 LIMIT 3; | ||
ALTER TABLE t1 ENGINE=InnoDB; | ||
UPDATE t1 SET ID=2; | ||
CALL country_hos('Europe'); | ||
SELECT 'test 1'; | ||
SELECT * FROM t1; | ||
CREATE DATABASE IF NOT EXISTS test DEFAULT CHARACTER SET="utf8" DEFAULT COLLATE="utf8_bin"; | ||
USE test; | ||
CREATE TABLE t1 (a int, b int, c int); | ||
INSERT INTO t1 VALUES (1,2,3); | ||
SELECT * FROM t1; | ||
/**/ | ||
# |
Binary file not shown.
Oops, something went wrong.