1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

SQL: main.flush_read_lock fix [#302]

This commit is contained in:
Eugene Kosov
2017-11-16 15:38:59 +03:00
committed by Aleksey Midenkov
parent f9714ef6f4
commit ecf259cacf

View File

@ -4907,6 +4907,9 @@ static bool get_all_archive_tables(THD *thd,
if (thd->variables.vers_hide == VERS_HIDE_NEVER)
return false;
if (thd->variables.vers_alter_history != VERS_ALTER_HISTORY_SURVIVE)
return false;
Dynamic_array<LEX_CSTRING *> all_db;
LOOKUP_FIELD_VALUES lookup_field_values= {
{C_STRING_WITH_LEN("%")}, {NULL, 0}, true, false};