Crist�v�o Dalla Costa wrote:

Rudy Lippan wrote:

> On Wed, 23 Oct 2002, David Wheeler wrote:
> >
> >while (my $rd = read $fh, $data2, 65536) {
> > $data .= $dbh->quote($data2);
> > $datasize += $rd;
> >}
> >
> Albeit with a few extra quotes, if I am reading the above code correctly.
> Try binding as SQL_BINARY and let me know if that works.

Both means (using quote() or bind_param()) do give the expected results.
Whoops, my bad. Indeed the first method increases the file size by a couple bytes, guess I wasn't paying enough attention.

Crist�v�o



Reply via email to