mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Fixed max_key_length when using UNIQUE keys.
This fixed a bug in GROUP BY on a BLOB column with NULL values. myisam/mi_create.c: Fixed max_key_length when using UNIQUE keys. myisam/mi_unique.c: Simple optimization Make different CRC for keys with null and empty strings. mysql-test/r/group_by.result: Updated results mysql-test/t/group_by.test: Test of bug
This commit is contained in:
@ -102,3 +102,11 @@ pid c1id c2id value id active id active
|
||||
1 4 NULL 4 4 Yes NULL NULL
|
||||
max(value)
|
||||
4
|
||||
a count(*)
|
||||
NULL 9
|
||||
3
|
||||
b 1
|
||||
a count(*)
|
||||
NULL 9
|
||||
3
|
||||
b 1
|
||||
|
Reference in New Issue
Block a user