Bug #40913 [Fbk->Csd]: PDO::PARAM_LOB does not bind to a stream for fetching a BLOB

From: Date: Tue, 04 Jan 2011 12:21:10 +0000
Subject: Bug #40913 [Fbk->Csd]: PDO::PARAM_LOB does not bind to a stream for fetching a BLOB
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-157551@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=40913&edit=1

 ID:                 40913
 Updated by:         uw@php.net
 Reported by:        dennis at inmarket dot lviv dot ua
 Summary:            PDO::PARAM_LOB does not bind to a stream for
                     fetching a BLOB
-Status:             Feedback
+Status:             Closed
 Type:               Bug
 Package:            PDO related
 Operating System:   Win XP
 PHP Version:        5.2.6
 Assigned To:        mysql
 Block user comment: N
 Private report:     N

 New Comment:

See last comment, works with 5.3.4


Previous Comments:
------------------------------------------------------------------------
[2010-12-27 01:02:32] php at paloch dot net

Seems to be fixed in 5.3.4 final. I was struggling with this issue (and
PHP 5.2.16) all evening before finding this post. I tried installing PHP
5.3.4 and voila, problem solved.

------------------------------------------------------------------------
[2010-11-22 10:43:16] uw@php.net

5.2 only gets security fixes, if at all. 

Can this be reproduced with 5.3.4-RC, using libmysql (recent one!),
using mysqlnd?

------------------------------------------------------------------------
[2010-10-05 18:10:13] samuel at ingessons dot se

And another reason why I need a stream and not a string is that a string
would consume all the memory for a large object.

------------------------------------------------------------------------
[2010-10-05 17:23:46] samuel at ingessons dot se

The reason why I want to have a stream and not echo it directly is that
I use a function that should return a stream.

------------------------------------------------------------------------
[2010-10-05 17:14:27] samuel at ingessons dot se

Is there a way to solve the problem and get a stream?
I want to make a pipeline directly from a longblob to the client.

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    http://bugs.php.net/bug.php?id=40913


-- 
Edit this bug report at http://bugs.php.net/bug.php?id=40913&edit=1


Thread (39 messages)

« previous php.bugs (#157551) next »