Forum > Databases

fpodbc

(1/1)

zhany:
i use fpodbc in sybase system 11,in varchar type data,when data length equal fiel length,getdata result  lose last character.

Anonymous:
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)

Navigation

[0] Message Index

Go to full version