1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

bugfix for MERGE tables and MAX(key)

This commit is contained in:
serg@serg.mysql.com
2003-01-17 12:48:23 +01:00
parent c16e908a2b
commit 390982aaa3
2 changed files with 4 additions and 5 deletions

View File

@@ -536,7 +536,7 @@ INSERT INTO t2 VALUES (1,2), (2,2);
CREATE TABLE t ( a int(11) NOT NULL default '0', b int(11) NOT NULL default '0', KEY a (a,b)) TYPE=MRG_MyISAM UNION=(t1,t2);
select max(b) from t where a = 2;
max(b)
NULL
2
select max(b) from t1 where a = 2;
max(b)
1