* use sametext instead of converting case

This commit is contained in:
Michaël Van Canneyt 2025-04-07 15:13:19 +02:00
parent c8d86b3fda
commit d789128ec5

View File

@ -148,8 +148,7 @@ begin
ColumnStr := UpperCase(String(ColumnNames[i + ColumnCount]));
if (ColumnStr = 'INTEGER') or (ColumnStr = 'INT') then
begin
if AutoIncrementKey and
(UpperCase(String(ColumnNames[i])) = UpperCase(PrimaryKey)) then
if AutoIncrementKey and SameText(String(ColumnNames[i]),PrimaryKey) then
begin
AType := ftAutoInc;
FAutoIncFieldNo := i;