Skip to content

Commit

Permalink
test(mtr):update select_group_by.result(stoneatom#497)
Browse files Browse the repository at this point in the history
  • Loading branch information
shangyanwen authored and mergify[bot] committed Oct 26, 2022
1 parent b71c0b1 commit 7a9dfb3
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion mysql-test/suite/tianmu/r/select_group_by.result
Original file line number Diff line number Diff line change
Expand Up @@ -156,4 +156,4 @@ COUNT(*)
3
SELECT COUNT(*) FROM t1 GROUP BY t1_tinyint, t1_int, t1_bigint HAVING t1_char = 'b';
ERROR 42S22: Unknown column 't1_char' in 'having clause'
DROP DATABASE IF EXISTS db1;
DROP DATABASE IF EXISTS db1;
2 changes: 1 addition & 1 deletion mysql-test/suite/tianmu/r/select_order_by.result
Original file line number Diff line number Diff line change
Expand Up @@ -549,4 +549,4 @@ NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL
0 NULL 403685477580676 54.797693231 8.40287 ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc c hello world! 3387-11-08 11:22:30
0 NULL 403685477580676 54.797693231 8.40287 ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc c hello world! 3387-11-08 11:22:30
0 NULL 203685477580676 -3.797693231e108 -7.40287e18 bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb b hello world! 2387-11-08 11:22:30
DROP DATABASE IF EXISTS db1;
DROP DATABASE IF EXISTS db1;
2 changes: 1 addition & 1 deletion mysql-test/suite/tianmu/r/temporary.result
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@ CREATE TEMPORARY TABLE `@0023sql2` (c1 INT)engine=tianmu;
ALTER TABLE `@0023sql2` RENAME `#sql2`;
INSERT INTO `#sql2` VALUES (2);
DROP TABLE `#sql2`;
CREATE TEMPORARY TABLE `tt+1` (c1 INT)engine=tianmu;
CREATE TEMPORARY TABLE `tt+1` (c1 INT)engine=tianmu;
2 changes: 2 additions & 0 deletions mysql-test/suite/tianmu/t/select_group_by.test
Original file line number Diff line number Diff line change
Expand Up @@ -110,5 +110,7 @@ SELECT COUNT(*) FROM t1 WHERE t1_blob IS NOT NULL OR t1_tinyint IS NULL GROUP BY
##1054: Unknown column 't1_char' in 'having clause'
--error 1054
SELECT COUNT(*) FROM t1 GROUP BY t1_tinyint, t1_int, t1_bigint HAVING t1_char = 'b';

#Clean up
DROP DATABASE IF EXISTS db1;

3 changes: 2 additions & 1 deletion mysql-test/suite/tianmu/t/select_order_by.test
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,5 @@ SELECT * FROM t1 ORDER BY t1_varchar, t1_datetime ASC;
SELECT * FROM t1 ORDER BY t1_varchar, t1_datetime DESC;

#Clean up
DROP DATABASE IF EXISTS db1;
DROP DATABASE IF EXISTS db1;

3 changes: 2 additions & 1 deletion mysql-test/suite/tianmu/t/temporary.test
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,5 @@ INSERT INTO `#sql2` VALUES (2);
DROP TABLE `#sql2`;

#Table names contain characters
CREATE TEMPORARY TABLE `tt+1` (c1 INT)engine=tianmu;
CREATE TEMPORARY TABLE `tt+1` (c1 INT)engine=tianmu;

0 comments on commit 7a9dfb3

Please sign in to comment.