Segmentation fault while fetching BLOB data from mysql with ODBC
| From: | Leandro Dardini | Date: | Thu, 26 Apr 2012 13:46:30 +0000 |
| Subject: | Segmentation fault while fetching BLOB data from mysql with ODBC | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-317697@lists.php.net to get a copy of this message | ||
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