diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2023-01-10 14:50:58 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2023-01-10 14:50:58 +0200 |
commit | 820ebcec8651d2478ece554f059a5513f0b2bedf (patch) | |
tree | 2a4b43a9f104782fa9211e8622bc7d50a992f802 /sql/sql_show.cc | |
parent | 0225159a8d0e1260bfec7219b584523097a74d4b (diff) | |
parent | 92c8d6f168f329bf7e3998a4f580781d0239b59a (diff) | |
download | mariadb-git-820ebcec8651d2478ece554f059a5513f0b2bedf.tar.gz |
Merge 10.8 into 10.9
Diffstat (limited to 'sql/sql_show.cc')
-rw-r--r-- | sql/sql_show.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_show.cc b/sql/sql_show.cc index 2320c148b3a..dd315517746 100644 --- a/sql/sql_show.cc +++ b/sql/sql_show.cc @@ -1,5 +1,5 @@ /* Copyright (c) 2000, 2015, Oracle and/or its affiliates. - Copyright (c) 2009, 2022, MariaDB + Copyright (c) 2009, 2023, MariaDB This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -2452,7 +2452,7 @@ int show_create_table_ex(THD *thd, TABLE_LIST *table_list, add_table_options(thd, table, create_info_arg, table_list->schema_table != 0, 0, packet); - if (table->versioned()) + if (!DBUG_IF("sysvers_hide") && table->versioned()) packet->append(STRING_WITH_LEN(" WITH SYSTEM VERSIONING")); #ifdef WITH_PARTITION_STORAGE_ENGINE |