Re: table_info('','','','%') cannot return any types

Tim Bunce <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.sybase.devel
Message-ID <[email protected]>
On Thu, Jun 25, 2015 at 11:08:14AM +0100, Martin J. Evans wrote:
> On 24/06/15 13:24, Tim Bunce wrote:
> >
> >The tables('', '', '', '%') call is a special case so it seems
> >reasonable to handle it as a special case in the code.
> 
> diff --git a/DBI.pm b/DBI.pm
> [...]

> adds a special case, passes DBI tests for me and passes my testing. There is no need to quote the type as the DB should accept what it passed out.
> 
> tables('','','','%') now returns (for my ODBC DB):
> SYSTEM TABLE
> TABLE
> VIEW
> 
> and no other calls to tables should be affected.

Great. Thanks Martin.

Tim.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.