mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 06:49:23 +02:00
* use sametext instead of converting case
This commit is contained in:
parent
d789128ec5
commit
e60cce05ee
@ -188,7 +188,7 @@ begin
|
|||||||
ColumnStr := UpperCase(String(sqlite3_column_decltype(vm, i)));
|
ColumnStr := UpperCase(String(sqlite3_column_decltype(vm, i)));
|
||||||
if (ColumnStr = 'INTEGER') or (ColumnStr = 'INT') then
|
if (ColumnStr = 'INTEGER') or (ColumnStr = 'INT') then
|
||||||
begin
|
begin
|
||||||
if AutoIncrementKey and (UpperCase(String(sqlite3_column_name(vm, i))) = UpperCase(PrimaryKey)) then
|
if AutoIncrementKey and SameText(String(sqlite3_column_name(vm, i)),PrimaryKey) then
|
||||||
begin
|
begin
|
||||||
AType := ftAutoInc;
|
AType := ftAutoInc;
|
||||||
FAutoIncFieldNo := i;
|
FAutoIncFieldNo := i;
|
||||||
|
Loading…
Reference in New Issue
Block a user