forked from Percona-QA/pstress
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
https://github.com/rahulmalik87/pstress/issues/34
Improve the grammar SQL by adding DATE, DATETIME and TIMESTAMP Also added option sleep-after-create-table to add some sleep after a create table. Also while comparing result if compare betwen engine is used adding order by ipkey
- Loading branch information
1 parent
5b23503
commit 628da71
Showing
5 changed files
with
221 additions
and
132 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
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,4 +1,9 @@ | ||
SELECT * FROM T1 JOIN T2 ON T1_INT_1 = T2_INT_1 ORDER BY T2_VARCHAR_1 DESC, T1_VARCHAR_1 | ||
SELECT @@VERSION | ||
SELECT count(*) FROM T1 JOIN T2 ON T1_INT_1 = T2_INT_1 ORDER BY T2_VARCHAR_1 DESC, T1_VARCHAR_1 | ||
SELECT count(*) FROM T1 | ||
SELECT sum(T1_INT_1) FROM T1 | ||
SELECT avg(T1_INT_1) FROM T1 | ||
SELECT max(T1_INT_1) FROM T1 | ||
SELECT min(T1_INT_1) FROM T1 | ||
SELECT * FROM T1 | ||
SELECT NOW() | ||
SELECT DATE_ADD(T1_DATE_1, INTERVAL 1 DAY) FROM T1 | ||
SELECT DATE_SUB(T1_DATE_1, INTERVAL 1 DAY) FROM T1 |
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
Oops, something went wrong.