[unixODBC-support] unicODBC 2.03 Redhat Linux 64 bit machine

Nithesh Shetty knitheshshetty at yahoo.com
Thu Sep 8 13:39:22 BST 2011


Hi,
 
when i set the attribute in SQLSetStmtAttr to SQL_ATTR_ROW_ARRAY_SIZE then it gives segmentation fault 
at SQLFetchScroll on 64 bit rhel 6.
 
Same call works fine on 32 bit rhel 5.
 
Cal syntax ls
 
SQLHSTMT hstmt;
....
..
SQLINTEGER maxrow = 5000;
SQLSetStmtAttr(htmst, SQL_ATTR_ROW_ARRAY_SIZE, (SQLPOINTER)maxrows, SQL_IS_INTEGER);
 
..
..
..
SQLFetchScroll(hstmt, SQL_FETCH_NEXT, 0);
 
skipped the intermediate function calls. since
 i comemnt SQLSetStmtAttr the function SQLFetchScroll does not give segmentation fault.
Awaiting your reply.
 
Regards,
Nithesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.unixodbc.org/pipermail/unixodbc-support/attachments/20110908/e561497b/attachment.html>


More information about the unixODBC-support mailing list