[unixODBC-support] ISQL Buffer corruption under Solaris 10, SPARC 64

Nick Gorham nick.gorham at easysoft.com
Tue Jul 8 18:19:07 BST 2008


Romain GUINOT wrote:

>Hi all, 
>
>I'm encountering what seems to be a bug either with unixODBC or Solaris
>libraries. 
>I cannot execute queries longer than 255 characters. if i do, the first 255
>characters are dropped and only the rest of the query remains, resulting in
>errors...
>
>I tried looking a the 2.2.12 code, but my C days are a bit old, and i can't
>seem to find a reason why it fails... 
>
>I've added this section in my odbcinst.ini : 
>[ODBC]
>Trace           = Yes
>TraceFile               = /tmp/odbc-sql.log
>ForceTrace              = Yes
>Pooling         = No
>
>
>  
>
I can't think of a reason why it would do that. Things to try would be 
building isql without readline support to see if there is a problem 
there, and try the -s option to isql to increase the buffer size, but it 
should default to more that 255 characters.

-- 
Nick Gorham
Easysoft Limited
http://www.easysoft.com, http://www.unixODBC.org




More information about the unixODBC-support mailing list