summaryrefslogtreecommitdiff
path: root/mysql-test/t/sel000003.test
diff options
context:
space:
mode:
authormonty@donna.mysql.com <>2001-01-03 02:15:48 +0200
committermonty@donna.mysql.com <>2001-01-03 02:15:48 +0200
commit9ff59511a5001a07a3c1ef2c4531f69fb8180a72 (patch)
treeee1c300b5d4d96d2aa4fd1efea5bbf5e7a01628a /mysql-test/t/sel000003.test
parentac0ceaf28e35ca50dfa606d3fd7ebb8e6e6e0085 (diff)
downloadmariadb-git-9ff59511a5001a07a3c1ef2c4531f69fb8180a72.tar.gz
Cleanup of tests to make them less dependent of eachother
Added new big select test
Diffstat (limited to 'mysql-test/t/sel000003.test')
-rw-r--r--mysql-test/t/sel000003.test9
1 files changed, 5 insertions, 4 deletions
diff --git a/mysql-test/t/sel000003.test b/mysql-test/t/sel000003.test
index cef82ab2596..3bef531366b 100644
--- a/mysql-test/t/sel000003.test
+++ b/mysql-test/t/sel000003.test
@@ -11,7 +11,8 @@
# Testing count() function and GROUP BY clause.
#
-DROP TABLE IF EXISTS t;
-CREATE TABLE t (name CHAR(20) NOT NULL PRIMARY KEY, score SMALLINT NOT NULL, KEY(score));
-INSERT INTO t VALUES ('Sasha', 20), ('Matt', 20), ('Monty', 10), ('David', 10), ('Tim', 10), ('Jeremy', 10);
-@r/sel000003.result SELECT COUNT(*) as n, score FROM t GROUP BY score;
+DROP TABLE IF EXISTS t1;
+CREATE TABLE t1 (name CHAR(20) NOT NULL PRIMARY KEY, score SMALLINT NOT NULL, KEY(score));
+INSERT INTO t1 VALUES ('Sasha', 20), ('Matt', 20), ('Monty', 10), ('David', 10), ('Tim', 10), ('Jeremy', 10);
+@r/sel000003.result SELECT COUNT(*) as n, score FROM t1 GROUP BY score;
+drop table t1;