Re: Segmentation fault while fetching BLOB data from mysql with ODBC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux