MySQL 9.1.0
Source Code Documentation
|
Checks for some semantic constraints on queries using GROUP BY, or aggregate functions, or DISTINCT. More...
#include "sql/aggregate_check.h"
#include <assert.h>
#include <cstdio>
#include <initializer_list>
#include <utility>
#include "mem_root_deque.h"
#include "my_base.h"
#include "my_sys.h"
#include "mysqld_error.h"
#include "sql/derror.h"
#include "sql/field.h"
#include "sql/item_func.h"
#include "sql/item_row.h"
#include "sql/key.h"
#include "sql/nested_join.h"
#include "sql/opt_trace.h"
#include "sql/opt_trace_context.h"
#include "sql/parser_yystype.h"
#include "sql/sql_base.h"
#include "sql/sql_class.h"
#include "sql/sql_const.h"
#include "sql/sql_executor.h"
#include "sql/sql_lex.h"
#include "sql/sql_list.h"
#include "sql/table.h"
#include "sql/window.h"
#include "template_utils.h"
Variables | |
static const enum_walk | walk_options |
We need to search for items inside subqueries, in case subqueries contain outer references to tables of a query block having DISTINCT or GROUP BY. More... | |
Checks for some semantic constraints on queries using GROUP BY, or aggregate functions, or DISTINCT.
Enforced if sql_mode contains 'only_full_group_by'.