fixed missing versioned tables #433

This commit is contained in:
Jan Prochazka
2022-12-15 17:38:02 +01:00
parent 2fddf32e54
commit 3c63738809

View File

@@ -4,5 +4,5 @@ select
TABLE_ROWS as tableRowCount,
case when ENGINE='InnoDB' then CREATE_TIME else coalesce(UPDATE_TIME, CREATE_TIME) end as modifyDate
from information_schema.tables
where TABLE_SCHEMA = '#DATABASE#' and TABLE_TYPE='BASE TABLE' and TABLE_NAME =OBJECT_ID_CONDITION;
where TABLE_SCHEMA = '#DATABASE#' and (TABLE_TYPE='BASE TABLE' or TABLE_TYPE='SYSTEM VERSIONED') and TABLE_NAME =OBJECT_ID_CONDITION;
`;