1
0
mirror of https://github.com/MariaDB/server.git synced 2025-05-08 15:01:49 +03:00
Tor Didriksen 1cf483aa58 Bug#12329653 - EXPLAIN, UNION, PREPARED STATEMENT, CRASH, SQL_FULL_GROUP_BY
The query was re-written *after* we had tagged it with NON_AGG_FIELD_USED.
Remove the flag before continuing.


mysql-test/r/explain.result:
  Update test case for Bug#48295.
mysql-test/r/subselect.result:
  New test case.
mysql-test/t/explain.test:
  Update test case for Bug#48295.
mysql-test/t/subselect.test:
  New test case.
sql/item.cc:
  Use accessor functions for non_agg_field_used/agg_func_used.
sql/item_subselect.cc:
  Remove non_agg_field_used when we rewrite query '1 < some (...)' => '1 < max(...)'
sql/item_sum.cc:
  Use accessor functions for non_agg_field_used/agg_func_used.
sql/mysql_priv.h:
  Remove unused #defines.
sql/sql_lex.cc:
  Initialize new member variables.
sql/sql_lex.h:
  Replace full_group_by_flag with two boolean flags,
  and itroduce accessors for manipulating them.
sql/sql_select.cc:
  Use accessor functions for non_agg_field_used/agg_func_used.
2011-05-04 16:18:21 +02:00
..
2009-05-31 20:10:59 +08:00
2007-11-06 20:31:40 +02:00
2009-11-03 19:58:54 +03:00
2007-12-13 15:47:23 +04:00
2007-10-19 17:07:08 +02:00
2009-02-06 18:25:08 +01:00
2007-11-02 13:40:34 +03:00
2009-11-23 14:38:08 -08:00
2007-10-26 08:42:33 +02:00
2008-01-27 16:41:29 +01:00
2007-11-05 20:18:22 +01:00
2007-11-20 20:15:20 +04:00
2009-02-27 16:11:15 +02:00
2007-11-30 18:06:28 +01:00
2009-12-10 11:44:19 +08:00
2008-04-04 01:16:55 +04:00
2008-08-26 14:21:07 +05:00
2008-03-14 20:51:32 +01:00
2010-03-10 19:28:49 +04:00