mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 11:39:33 +02:00
* use sametext instead of converting case
This commit is contained in:
parent
e60cce05ee
commit
9cbc8f67f0
@ -1851,7 +1851,7 @@ begin
|
||||
DatabaseError('Field type "' + FieldTypeNames[FieldDefs[i].DataType] +
|
||||
'" not supported', Self);
|
||||
end;
|
||||
if UpperCase(FieldDefs[i].Name) = UpperCase(FPrimaryKey) then
|
||||
if SameText(FieldDefs[i].Name,FPrimaryKey) then
|
||||
SQLTemp := SQLTemp + ' PRIMARY KEY';
|
||||
if i <> FieldDefs.Count - 1 then
|
||||
SQLTemp := SQLTemp + ' , ';
|
||||
|
Loading…
Reference in New Issue
Block a user