Hello Alexey,

You have found a (particulary nasty) bug in the SQLDBC client library. Thank 
you for reporting the 
issue. You may monitor the progress of solving the issue at the following web 
address.

http://sapdb.org/webpts?wptsdetail=yes&ErrorType=0&ErrorID=1138019 


Sorry for any inconvenience caused by this problem.

Alexander Schröder
SAP DB, SAP Labs Berlin

-----Original Message-----
From: Alexey Gaidukov [mailto:[EMAIL PROTECTED] 
Sent: Mittwoch, 21. September 2005 04:47
To: maxdb@lists.mysql.com
Cc: [EMAIL PROTECTED]
Subject: Endless-loop in SQLDBC_RowSet_fetch for LONG UNICODE in case of 
encoding=UTF8

SQLDBC_Connection_connectNTS(imp_dbh->m_connection,
                                       host,
                                       dbname,
                                       user,
                                       password,
                                       
SQLDBC_StringEncodingType_Encoding_UTF8,
                                       imp_dbh->m_connprop)==SQLDBC_OK)


If in
SQLDBC_ResultSet_bindColumn (imp_sth->m_resultset,
                                     column,
                                     SQLDBC_HOSTTYPE_UTF8,
                                     m_col->buf,
                                     &m_col->indicator,
                                     m_col->bufLen,
                                     SQLDBC_TRUE)

bufLen is less then LONG column data size then in  SQLDBC_RowSet_fetch I 
get endless-loop with some data. If bufLen is enough big then fetch 
works well.

I have a sqldbctrace file.

-- 
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]


--
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to