TZAbstractConnection.GetTableNames

The alpha/beta tester's forum for ZeosLib 7.0.x series

Report problems concerning our Delphi 2009+ version and new Zeoslib 7.0 features here.

This is a forum that will be removed once the 7.X version goes into stable!!

Moderators: gto, EgonHugeist, olehs

Locked
hemmingway
Fresh Boarder
Fresh Boarder
Posts: 21
Joined: 20.01.2010, 13:51

TZAbstractConnection.GetTableNames

Post by hemmingway »

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
User avatar
EgonHugeist
Zeos Project Manager
Zeos Project Manager
Posts: 1936
Joined: 31.03.2011, 22:38

Post by EgonHugeist »

Bernhard,

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/

Image
Locked