Skip to Content
0
Former Member
Apr 22, 2014 at 02:30 PM

ct_bind issue in ASE15.7

46 Views

Hi All,

We upgraded our sybase version from 12 ->15.7. After upgrade, we are getting below bind issue during ct_bind call through our c routine

eg-


ct_bind(dbproc->cmd,column,temp_ptr,varaddr,NULL,null_ind);


in above call ct_bind is assigning garbage value to variable varaddr ( CS_BYTE *buffer) if query is not able to fetch any record from table i.e blank value ( ideally the query should fetch a single record based on condition but even if query is unable to fetch any info this ct_bind call should assign the variable as BLANK '').

sybase 12 version is working perfectly and assigning BLANK ' ' value if no record is fetched from table.

Regards,

Pankaj