From c9eb76525603ef5d7012e12cb85e44ff06941cd2 Mon Sep 17 00:00:00 2001 From: Ansgar Becker Date: Fri, 6 Mar 2026 13:03:48 +0100 Subject: [PATCH] fix: sporadic "no database selected" when updating grid header with row details --- source/dbstructures.mysql.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'+