Hello all,
I've run across an interesting difference running DBI under Solaris and
Linux, 
and I was hoping to get some clarification of this issue.  

Under Solaris, when setting the LongReadLen, I have to put it on the DB
handle.
$db->{dbh}->{LongReadLen} = 429497294;

When I run the exact same set of scripts under Linux, I have to put it on
the statement handle. 
$sth->{LongReadLen} = 429497294;

This is the only difference that I have to make in order to convince the
scripts to execute correctly.
The query is trying to retrieve a BLOB from the Database. 
As a side note, I have conferred with a friend of mine that ran into 
something very similar, his Solaris machine was not running a proxy though.

I'm sorry, but I don't have his environment specs.

Now the environment.

Solaris --
perl -v reports 
This is perl, v5.6.0 built for sun4-solaris 
uname -a
SunOS 5.6 Generic_105181-05 sun4u sparc SUNW,Ultra-1
dbi proxy is 1.19 connecting to Plserver v1.14 running on Linux.

Linux --
Linux 2.2.19 #2 Tue Aug 7 14:29:32 CDT 2001 i686 unknown
perl -v reports
This is perl, v5.6.0 built for i686-linux

If any more information is needed to assist anyone in figuring out what 
this is all about, I'll be happy to offer it.


Thanks,
Jason Smith

Reply via email to