* patch to order output of getschemainfo(sttables) for sqlite, patch by Lacak2, mantis #19957

git-svn-id: trunk@18875 -
This commit is contained in:
marco 2011-08-28 14:56:46 +00:00
parent b43f780a06
commit d6ec10d166

View File

@ -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)