[sqlapi-announce] SQLAPI++ library 4.1.3 bugfix (PostgreSQL long binary/blob binding)

  • From: Sergey Chumakov <support@xxxxxxxxxx>
  • To: sqlapi-announce@xxxxxxxxxxxxx
  • Date: Thu, 19 Jun 2014 11:43:25 +0300

2014-06-19

-- Informix: Fixed long/lob binding (thanks Christian Schmitz).

Use attached file for 4.1.3 sources patching.

--
Best regards,
Sergey Chumakov, SQLAPI++ development team
Index: src/infClient.cpp
===================================================================
--- src/infClient.cpp   (revision 1004)
+++ src/infClient.cpp   (working copy)
@@ -1411,14 +1411,6 @@
                                        break;
                        }
                        while( nActualWrite != 0 );
-
-                       // LOB can return error instead of SQL_NO_DATA)
-                       if(ePieceType == SA_LastPiece)
-                       {
-                               
IinfConnection::Check(g_infAPI.SQLPutData(m_handles.m_hstmt, pBuf, 
(SQLINTEGER)0),
-                                       SQL_HANDLE_STMT, m_handles.m_hstmt);
-                               break;
-                       }
                }
        }
        catch(SAException&)

Other related posts:

  • » [sqlapi-announce] SQLAPI++ library 4.1.3 bugfix (PostgreSQL long binary/blob binding) - Sergey Chumakov