mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-22660 System versioning cleanups
- Cleaned up Vers_parse_info::check_sys_fields(); - Renamed VERS_SYS_START_FLAG, VERS_SYS_END_FLAG to VERS_ROW_START, VERS_ROW_END.
This commit is contained in:
@ -2288,11 +2288,11 @@ int show_create_table(THD *thd, TABLE_LIST *table_list, String *packet,
|
||||
}
|
||||
else
|
||||
{
|
||||
if (field->flags & VERS_SYS_START_FLAG)
|
||||
if (field->flags & VERS_ROW_START)
|
||||
{
|
||||
packet->append(STRING_WITH_LEN(" GENERATED ALWAYS AS ROW START"));
|
||||
}
|
||||
else if (field->flags & VERS_SYS_END_FLAG)
|
||||
else if (field->flags & VERS_ROW_END)
|
||||
{
|
||||
packet->append(STRING_WITH_LEN(" GENERATED ALWAYS AS ROW END"));
|
||||
}
|
||||
@ -6080,7 +6080,7 @@ static int get_schema_column_record(THD *thd, TABLE_LIST *tables,
|
||||
}
|
||||
else if (field->flags & VERS_SYSTEM_FIELD)
|
||||
{
|
||||
if (field->flags & VERS_SYS_START_FLAG)
|
||||
if (field->flags & VERS_ROW_START)
|
||||
{
|
||||
table->field[21]->store(STRING_WITH_LEN("ROW START"), cs);
|
||||
buf.set(STRING_WITH_LEN("STORED GENERATED"), cs);
|
||||
|
Reference in New Issue
Block a user