diff --git a/source/dbstructures.mysql.pas b/source/dbstructures.mysql.pas index 9a11feaa..5a0bcd62 100644 --- a/source/dbstructures.mysql.pas +++ b/source/dbstructures.mysql.pas @@ -3337,7 +3337,7 @@ begin ); qGetRowCountApprox: Result := IfThen( FNetType <> ntMySQL_ProxySQLAdmin, - 'SHOW TABLE STATUS LIKE :EscapedName', + 'SHOW TABLE STATUS FROM :QuotedDatabase LIKE :EscapedName', '' ); qGetReverseForeignKeys: Result := 'SELECT DISTINCT'+