/[packages]/cauldron/mariadb/current/SOURCES/mariadb-5.5-equi-join-BLOB-column-from-materialized-view-or-derived-table.patch
ViewVC logotype

Diff of /cauldron/mariadb/current/SOURCES/mariadb-5.5-equi-join-BLOB-column-from-materialized-view-or-derived-table.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 407544 by alien, Tue Apr 2 18:58:45 2013 UTC revision 407545 by alien, Wed Apr 3 16:38:40 2013 UTC
# Line 22  Line 22 
22  +1      PRIMARY <derived2>      ref     key0    key0    5       test.t2.c2      2       100.00  Using where  +1      PRIMARY <derived2>      ref     key0    key0    5       test.t2.c2      2       100.00  Using where
23  +2      DERIVED t1      ALL     NULL    NULL    NULL    NULL    5       100.00    +2      DERIVED t1      ALL     NULL    NULL    NULL    NULL    5       100.00  
24  +Warnings:  +Warnings:
25  +Note   1003    select `v1`.`c1` AS `c1`,`v1`.`c2` AS `c2` from `test`.`v1` join `test`.`t2` where ((`v1`.`c1` = `test`.`t2`.`c1`) and (`v1`.`c2` = `test`.`t2`.`c2`))  +Note   1003    select `v1`.`c1` AS `c1`,`v1`.`c2` AS `c2` from `test`.`v1` join `test`.`t2` where ((`v1`.`c2` = `test`.`t2`.`c2`) and (`v1`.`c1` = `test`.`t2`.`c1`))
26  +SELECT v1.c1, v1.c2 FROM v1, t2 WHERE v1.c1=t2.c1 AND v1.c2=t2.c2;  +SELECT v1.c1, v1.c2 FROM v1, t2 WHERE v1.c1=t2.c1 AND v1.c2=t2.c2;
27  +c1     c2  +c1     c2
28  +c      3  +c      3
# Line 35  Line 35 
35  +1      PRIMARY <derived2>      ref     key0    key0    5       test.t2.c2      2       100.00  Using where  +1      PRIMARY <derived2>      ref     key0    key0    5       test.t2.c2      2       100.00  Using where
36  +2      DERIVED t1      ALL     NULL    NULL    NULL    NULL    5       100.00  Using temporary; Using filesort  +2      DERIVED t1      ALL     NULL    NULL    NULL    NULL    5       100.00  Using temporary; Using filesort
37  +Warnings:  +Warnings:
38  +Note   1003    select `test`.`t2`.`c1` AS `c1`,`test`.`t2`.`c2` AS `c2` from (select `test`.`t1`.`c1` AS `g`,max(`test`.`t1`.`c2`) AS `m` from `test`.`t1` group by `test`.`t1`.`c1`) `t` join `test`.`t2` where ((`t`.`g` = `test`.`t2`.`c1`) and (`t`.`m` = `test`.`t2`.`c2`))  +Note   1003    select `test`.`t2`.`c1` AS `c1`,`test`.`t2`.`c2` AS `c2` from (select `test`.`t1`.`c1` AS `g`,max(`test`.`t1`.`c2`) AS `m` from `test`.`t1` group by `test`.`t1`.`c1`) `t` join `test`.`t2` where ((`t`.`m` = `test`.`t2`.`c2`) and (`t`.`g` = `test`.`t2`.`c1`))
39  +SELECT t2.c1, t2.c2 FROM (SELECT c1 g, MAX(c2) m FROM t1 GROUP BY c1) t, t2  +SELECT t2.c1, t2.c2 FROM (SELECT c1 g, MAX(c2) m FROM t1 GROUP BY c1) t, t2
40  +WHERE t.g=t2.c1 AND t.m=t2.c2;  +WHERE t.g=t2.c1 AND t.m=t2.c2;
41  +c1     c2  +c1     c2

Legend:
Removed from v.407544  
changed lines
  Added in v.407545

  ViewVC Help
Powered by ViewVC 1.1.30