Recent

Author Topic: fpodbc  (Read 4043 times)

zhany

  • Guest
fpodbc
« on: June 07, 2005, 05:04:12 am »
i use fpodbc in sybase system 11,in varchar type data,when data length equal fiel length,getdata result  lose last character.

Anonymous

  • Guest
fpodbc
« Reply #1 on: June 17, 2005, 11:20:15 am »
i was fix this bug,in fpodbc.pp line 959,change
  CheckODBC(SQLBindCol(Handle,FPosition,FBufType,GetData,FBufSize,FBuffer+FBuffOffset)
to
  CheckODBC(SQLBindCol(Handle,FPosition,FBufType,GetData,FBufSize+1,FBuffer+FBuffOffset)