Re: Segmentation fault while fetching BLOB data from mysql with ODBC
| From: | shiplu | Date: | Thu, 26 Apr 2012 18:37:21 +0000 |
| Subject: | Re: Segmentation fault while fetching BLOB data from mysql with ODBC | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-317704@lists.php.net to get a copy of this message | ||
On Thursday, April 26, 2012, Leandro Dardini wrote:
> Anyone has experienced segmentation fault while reading blob (longblog)
> data from mysql using ODBC?
>
> If not, can you provide me few rows of code to show me how you fetch it?
>
> I am using php 5.3.3 and this code segfaults:
>
> $conn=odbc_connect("db","","");
> $sql="select * from table where id=1";
> $res=odbc_exec($conn,$sql);
> $row=odbc_fetch_object($res);
>
> Leandro
>
This is certainly a bug. But I'm curious why you are not using MySQL
extension?
--
Shiplu.Mokadd.im
ImgSign.com | A dynamic signature machine
Innovation distinguishes between follower and leader