I changed the order from tablePattern,schemaPattern to schemaPattern,tablePattern.
I got previous a "table not found" error.
The only one call of the function is in TZAbstractConnection.pas:
GetTableNames('',Pattern,nil,List);
My changes:
procedure GetTableNames(const schemaPattern,tablePattern: string; List: TStrings);overload;
procedure GetTableNames(const schemaPattern,tablePattern: string; Types: TStringDynArray; List: TStrings);overload;
procedure GetTriggerNames(const SchemaPattern,TablePattern: string; List: TStrings);
Greetings, Bernhard
TZAbstractConnection.GetTableNames
Moderators: gto, EgonHugeist, olehs
- EgonHugeist
- Zeos Project Manager
- Posts: 1936
- Joined: 31.03.2011, 22:38
Bernhard,
the order should be the right one. Can you make a patch and attach it?
You can also use the TZSqlMetatdata-component
the order should be the right one. Can you make a patch and attach it?
You can also use the TZSqlMetatdata-component
Best regards, Michael
You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/
You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/