mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-16 01:30:33 +01:00
* Let gettablenames with TRUE as second param succeed, out of compatibility
Patch from Lacak2 Mantis #22255 git-svn-id: trunk@21583 -
This commit is contained in:
parent
7dfaec7a05
commit
d97aa91e28
@ -831,6 +831,7 @@ function TSQLite3Connection.GetSchemaInfoSQL(SchemaType: TSchemaType;
|
||||
begin
|
||||
case SchemaType of
|
||||
stTables : result := 'select name as table_name from sqlite_master where type = ''table'' order by 1';
|
||||
stSysTables : result := 'select ''sqlite_master'' as table_name';
|
||||
stColumns : result := 'pragma table_info(''' + (SchemaObjectName) + ''')';
|
||||
else
|
||||
DatabaseError(SMetadataUnavailable)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user