mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
MDEV-23968 CREATE TEMPORARY TABLE .. LIKE (system versioned table) returns error if unique index is defined in the table
- Remove row_start/row_end from keys in fix_create_like(); - Disable manual adding of implicit row_start/row_end to indexes on CREATE TABLE. INVISIBLE_SYSTEM fields are unoperable by user; - Fix memory leak on allocation of Key_part_spec.
This commit is contained in:
@ -254,8 +254,9 @@ class Key_part_spec :public Sql_alloc {
|
||||
public:
|
||||
LEX_CSTRING field_name;
|
||||
uint length;
|
||||
Key_part_spec(const LEX_CSTRING *name, uint len)
|
||||
: field_name(*name), length(len)
|
||||
bool generated;
|
||||
Key_part_spec(const LEX_CSTRING *name, uint len, bool gen= false)
|
||||
: field_name(*name), length(len), generated(gen)
|
||||
{}
|
||||
bool operator==(const Key_part_spec& other) const;
|
||||
/**
|
||||
|
Reference in New Issue
Block a user