From ecdce666770fea063bf883cd30a8c2751640c8ca Mon Sep 17 00:00:00 2001 From: Ansgar Becker Date: Wed, 30 Mar 2016 18:08:20 +0000 Subject: [PATCH] Fix multi column filter concatenated without OR after linebreak. See http://www.heidisql.com/forum.php?t=21005 and http://www.heidisql.com/forum.php?t=21007 --- source/main.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/main.pas b/source/main.pas index cded9e24..63a20bbf 100644 --- a/source/main.pas +++ b/source/main.pas @@ -8238,7 +8238,7 @@ begin Line := ''; for i:=0 to Conditions.Count-1 do begin - if Length(Line) > 0 then + if i > 0 then Line := Line + ' OR '; Line := Line + Conditions[i]; // Add linebreak near right window edge