From abc9f7063e0084c98a0a53cc788481c1ec5bba42 Mon Sep 17 00:00:00 2001 From: Ansgar Becker Date: Sun, 1 Mar 2020 10:42:29 +0100 Subject: [PATCH] Make comparison of table in SQL code with physical table names case insensitive. Probably helps solving #895 --- source/main.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/main.pas b/source/main.pas index 5630aaa2..7d10c4f6 100644 --- a/source/main.pas +++ b/source/main.pas @@ -5999,7 +5999,7 @@ var tblname := Conn.DeQuoteIdent(tblname); DBObjects := Conn.GetDBObjects(dbname); for Obj in DBObjects do begin - if (Obj.Name = tblname) and (Obj.NodeType in [lntTable, lntView]) then begin + if (Obj.Name.ToLowerInvariant = tblname.ToLowerInvariant) and (Obj.NodeType in [lntTable, lntView]) then begin Columns := Obj.TableColumns; for Col in Columns do begin Proposal.InsertList.Add(Col.Name);