Skip to content

Commit c9eb765

Browse files
committed
fix: sporadic "no database selected" when updating grid header with row details
1 parent e3fc3f5 commit c9eb765

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/dbstructures.mysql.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3337,7 +3337,7 @@ function TMySqlProvider.GetSql(AId: TQueryId): string;
33373337
);
33383338
qGetRowCountApprox: Result := IfThen(
33393339
FNetType <> ntMySQL_ProxySQLAdmin,
3340-
'SHOW TABLE STATUS LIKE :EscapedName',
3340+
'SHOW TABLE STATUS FROM :QuotedDatabase LIKE :EscapedName',
33413341
''
33423342
);
33433343
qGetReverseForeignKeys: Result := 'SELECT DISTINCT'+

0 commit comments

Comments
 (0)