From bb56a06d2655e6698e72931f900ebad47cfc29a0 Mon Sep 17 00:00:00 2001 From: Eugene Kosov Date: Fri, 16 Mar 2018 15:47:48 +0300 Subject: 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 --- sql/sql_show.cc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sql/sql_show.cc') diff --git a/sql/sql_show.cc b/sql/sql_show.cc index 3c361c693b4..38a13c49278 100644 --- a/sql/sql_show.cc +++ b/sql/sql_show.cc @@ -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)) -- cgit v1.2.1