On Mon, 2003-03-31 at 11:36, Karyn Ulriksen wrote:
> Hi All,
>
> I recently upgraded one of my machines to DBD::Sybase 0.95. I am seeing
> a new behavior that is causing me problems and wondered if anyone could help
> me out.
>
> Also, I'm seeing that "$self->{DBH}->{LongReadLen} = 65536;" is being
> complained about in the logfiles, so I've remarked them out and hoping that
> my "$self->{DBH}->do("set textsize 65536");" is doing the job. If anyone
> has insight on what's up with that, I'd be much obliged.
Are you using FreeTDS?
> This worked pretty well before. But, now, it appears that if the result of
> the query is a null set, it pukes with a:
>
> Can't get DBI::st=HASH(0x811cfa8)->{NAME}: unrecognised attribute at <my
> package>
Hmmm - I don't think that this is a problem with DBD::Sybase. However I
believe that there was (or maybe still is) a bug with FreeTDS and empty
result sets where the columns don't get set up correctly.
Michael
--
Michael Peppler Data Migrations, Inc.
[EMAIL PROTECTED] http://www.mbay.net/~mpeppler
Sybase T-SQL/OpenClient/OpenServer/C/Perl developer available for short or
long term contract positions - http://www.mbay.net/~mpeppler/resume.html