mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-16 11:42:12 +08:00
Make comparison of table in SQL code with physical table names case insensitive. Probably helps solving #895
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user