mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-15062 Information Schema COLUMNS Table does not show system versioning information
get_schema_column_record(): print 'WITHOUT SYSTEM VERSIONING` in 'EXTRA' for such fields
This commit is contained in:
committed by
Sergei Golubchik
parent
339b905579
commit
bb56a06d26
@ -6000,6 +6000,12 @@ static int get_schema_column_record(THD *thd, TABLE_LIST *tables,
|
||||
buf.append(STRING_WITH_LEN(", "));
|
||||
buf.append(STRING_WITH_LEN("INVISIBLE"),cs);
|
||||
}
|
||||
if (field->vers_update_unversioned())
|
||||
{
|
||||
if (buf.length())
|
||||
buf.append(STRING_WITH_LEN(", "));
|
||||
buf.append(STRING_WITH_LEN("WITHOUT SYSTEM VERSIONING"), cs);
|
||||
}
|
||||
table->field[17]->store(buf.ptr(), buf.length(), cs);
|
||||
table->field[19]->store(field->comment.str, field->comment.length, cs);
|
||||
if (schema_table_store_record(thd, table))
|
||||
|
Reference in New Issue
Block a user