Bug #18742 Test 'group_min_max' fails if "classic" configuration in 5.0
| Submitted: | 3 Apr 2006 15:05 | Modified: | 25 May 2006 17:23 |
|---|---|---|---|
| Reporter: | Kent Boortz | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server | Severity: | S3 (Non-critical) |
| Version: | 5.0.21-pre | OS: | |
| Assigned to: | Georgi Kodinov | CPU Architecture: | Any |
[23 May 2006 13:41]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/6767
[25 May 2006 11:23]
Georgi Kodinov
Pushed in 5.0.23-BK
[25 May 2006 17:23]
Paul DuBois
Test case changes. No changelog entry needed.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.039 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.
Description: Test case fails if InnoDB is not compiled into the binary *** r/group_min_max.result Sat Apr 1 02:29:15 2006 --- r/group_min_max.reject Mon Apr 3 14:14:53 2006 *************** *** 2012,2017 **** --- 2012,2019 ---- NULL 1 drop table t1; create table t1 (f1 int, f2 char(1), primary key(f1,f2)) engine=innodb; + Warnings: + Warning 1266 Using storage engine MyISAM for table 't1' insert into t1 values ( 1,"e"),(2,"a"),( 3,"c"),(4,"d"); alter table t1 drop primary key, add primary key (f2, f1); explain select distinct f1 a, f1 b from t1; *************** *** 2019,2025 **** 1 SIMPLE t1 index NULL PRIMARY 5 NULL 4 Using index; Using temporary explain select distinct f1, f2 from t1; id select_type table type possible_keys key key_len ref rows Extra ! 1 SIMPLE t1 range NULL PRIMARY 5 NULL 3 Using index for group-by; Using temporary drop table t1; create table t1 (c1 int not null,c2 int not null, primary key(c1,c2)); insert into t1 (c1,c2) values --- 2021,2027 ---- 1 SIMPLE t1 index NULL PRIMARY 5 NULL 4 Using index; Using temporary explain select distinct f1, f2 from t1; id select_type table type possible_keys key key_len ref rows Extra ! 1 SIMPLE t1 index NULL PRIMARY 5 NULL 4 Using index; Using temporary drop table t1; create table t1 (c1 int not null,c2 int not null, primary key(c1,c2)); insert into t1 (c1,c2) values How to repeat: Configure, build and test with ./configure --without-innodb --without-berkeley-db --without-ndbcluster make cd mysql-test ./mysql-test-run.pl --force