mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Bug#8733 - server accepts malformed query (multiply mentioned distinct)
Detect conflicting options in SELECT
This commit is contained in:
@ -211,6 +211,9 @@ extern CHARSET_INFO *national_charset_info, *table_alias_charset;
|
||||
key checks in some cases */
|
||||
#define OPTION_RELAXED_UNIQUE_CHECKS (1L << 27)
|
||||
#define SELECT_NO_UNLOCK (1L << 28)
|
||||
/* Thr following is used to detect a conflict with DISTINCT
|
||||
in the user query has requested */
|
||||
#define SELECT_ALL (1L << 29)
|
||||
|
||||
/* If set to 0, then the thread will ignore all warnings with level notes.
|
||||
Set by executing SET SQL_NOTES=1 */
|
||||
|
Reference in New Issue
Block a user