mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-13 11:49:30 +02:00
* patch to order output of getschemainfo(sttables) for sqlite, patch by Lacak2, mantis #19957
git-svn-id: trunk@18875 -
This commit is contained in:
parent
b43f780a06
commit
d6ec10d166
@ -770,7 +770,7 @@ function TSQLite3Connection.GetSchemaInfoSQL(SchemaType: TSchemaType;
|
||||
|
||||
begin
|
||||
case SchemaType of
|
||||
stTables : result := 'select name as table_name from sqlite_master where type = ''table''';
|
||||
stTables : result := 'select name as table_name from sqlite_master where type = ''table'' order by 1';
|
||||
stColumns : result := 'pragma table_info(''' + (SchemaObjectName) + ''')';
|
||||
else
|
||||
DatabaseError(SMetadataUnavailable)
|
||||
|
Loading…
Reference in New Issue
Block a user