MySQL  8.0.27
Source Code Documentation
aggregate_check.h File Reference

Checks for some semantic constraints on queries using GROUP BY, or aggregate functions, or DISTINCT. More...

#include <assert.h>
#include <sys/types.h>
#include "my_alloc.h"
#include "my_inttypes.h"
#include "my_table_map.h"
#include "sql/item.h"
#include "sql/item_cmpfunc.h"
#include "sql/item_sum.h"
#include "sql/mem_root_array.h"

Go to the source code of this file.

Classes

class  Distinct_check
 Checks for queries which have DISTINCT. More...
 
class  Group_check
 Checks for queries which have GROUP BY or aggregate functions. More...
 

Detailed Description

Checks for some semantic constraints on queries using GROUP BY, or aggregate functions, or DISTINCT.

Enforced if sql_mode contains 'only_full_group_by'.