~drizzle-trunk/drizzle/development

1 by brian
clean slate
1
DROP TABLE IF EXISTS t1;
2
CREATE TABLE t1 (
722.2.19 by Monty Taylor
Turned on small_tmp_table.
3
a varchar(32) collate utf8_bin NOT NULL,
4
b varchar(32) collate utf8_bin NOT NULL );
1 by brian
clean slate
5
INSERT INTO t1 VALUES
6
('AAAAAAAAAA','AAAAAAAAAA'), ('AAAAAAAAAB','AAAAAAAAAB '),
7
('AAAAAAAAAB','AAAAAAAAAB'), ('AAAAAAAAAC','AAAAAAAAAC'),
8
('AAAAAAAAAD','AAAAAAAAAD'), ('AAAAAAAAAE','AAAAAAAAAE'),
9
('AAAAAAAAAF','AAAAAAAAAF'), ('AAAAAAAAAG','AAAAAAAAAG'),
10
('AAAAAAAAAH','AAAAAAAAAH'), ('AAAAAAAAAI','AAAAAAAAAI'),
11
('AAAAAAAAAJ','AAAAAAAAAJ'), ('AAAAAAAAAK','AAAAAAAAAK');
12
set tmp_table_size=1024;
13
SELECT MAX(a) FROM t1 GROUP BY a,b;
722.2.19 by Monty Taylor
Turned on small_tmp_table.
14
MAX(a)
15
AAAAAAAAAA
16
AAAAAAAAAB
17
AAAAAAAAAC
18
AAAAAAAAAD
19
AAAAAAAAAE
20
AAAAAAAAAF
21
AAAAAAAAAG
22
AAAAAAAAAH
23
AAAAAAAAAI
24
AAAAAAAAAJ
25
AAAAAAAAAK
1 by brian
clean slate
26
set tmp_table_size=default;
27
DROP TABLE t1;