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

Nick Gorham nick at lurcher.org
Fri Sep 9 09:49:12 BST 2011


On 09/09/11 06:27, Nithesh Shetty wrote:
> Hi Neha,
> Its RHEL 6 and i have tried with int64_t
> it gives the same segmentation fault.
> Regards,
> Nithesh

As I say, you have to know that the app view of sizeof( SQLLEN ) is the 
same as the driver. The most important point where that size matters, is 
the size of the array of SQLLEN that is bound as the indicator variable 
to each column. Between the SQLSetStmtAttr and the SQLExecute there will 
be one or more SQLBindCol, check the size of the len_ind variable.

-- 
Nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.unixodbc.org/pipermail/unixodbc-support/attachments/20110909/bde86c59/attachment.html>


More information about the unixODBC-support mailing list