mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Merge 10.6 into 10.7
This commit is contained in:
@ -36,6 +36,7 @@
|
||||
#include "sql_limit.h" // Select_limit_counters
|
||||
#include "json_table.h" // Json_table_column
|
||||
#include "sql_schema.h"
|
||||
#include "table.h"
|
||||
|
||||
/* Used for flags of nesting constructs */
|
||||
#define SELECT_NESTING_MAP_SIZE 64
|
||||
@ -4562,6 +4563,11 @@ public:
|
||||
|
||||
int add_period(Lex_ident name, Lex_ident_sys_st start, Lex_ident_sys_st end)
|
||||
{
|
||||
if (check_period_name(name.str)) {
|
||||
my_error(ER_WRONG_COLUMN_NAME, MYF(0), name.str);
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (lex_string_cmp(system_charset_info, &start, &end) == 0)
|
||||
{
|
||||
my_error(ER_FIELD_SPECIFIED_TWICE, MYF(0), start.str);
|
||||
|
Reference in New Issue
Block a user