List:Commits« Previous MessageNext Message »
From:pharvey Date:January 21 2006 1:51am
Subject:Connector/ODBC 5 commit: r48 - in MYODBCAtt: MYODBCAttLib include
View as plain text  
Modified:
   MYODBCAtt/MYODBCAttLib/MYODBCAttStatement.cpp
   MYODBCAtt/include/MYODBCAttStatement.h
Log:
UNICODE:
- more work complete MYODBCAttStatement class

Modified: MYODBCAtt/MYODBCAttLib/MYODBCAttStatement.cpp
===================================================================
--- MYODBCAtt/MYODBCAttLib/MYODBCAttStatement.cpp	2006-01-20 20:04:33 UTC (rev 47)
+++ MYODBCAtt/MYODBCAttLib/MYODBCAttStatement.cpp	2006-01-21 01:51:11 UTC (rev 48)
@@ -14,7 +14,8 @@
     nAsyncEnable        = SQL_ASYNC_ENABLE_OFF;
     nConcurrency        = SQL_CONCUR_READ_ONLY;
     nCursorScrollable   = SQL_FETCH_NEXT;
-    nCursorUnspecified  = SQL_UNSPECIFIED;
+    nCursorSensitivity  = SQL_UNSPECIFIED;
+    nCursorType         = SQL_CURSOR_FORWARD_ONLY;
 
     MYODBCDbgReturn2();
 }
@@ -128,6 +129,8 @@
             nCursorType     = SQL_CURSOR_STATIC;
             break;
         case SQL_SENSITIVE:
+            if ( nConcurrency == SQL_CONCUR_READ_ONLY )
+                nConcurrency = SQL_CONCUR_VALUES;
             break;
         default:
             MYODBCDbgReturn( pdia->doAppend( MYODBC_DIA_HY092, 0, NULL ) );
@@ -138,8 +141,208 @@
     MYODBCDbgReturn( SQL_SUCCESS );
 }
 
+SQLRETURN MYODBCAttStatement::setCursorType( SQLUINTEGER nCursorType )
+{
+    MYODBCDbgEnter();
 
+    switch ( nCursorType )
+    {
+        case SQL_CURSOR_FORWARD_ONLY:
+            nCursorScrollable = SQL_NONSCROLLABLE;
+            break;
+        case SQL_CURSOR_STATIC:
+            nCursorScrollable = SQL_SCROLLABLE;
+            if ( nConcurrency == SQL_CONCUR_READ_ONLY )
+                nCursorSensitivity = SQL_INSENSITIVE;
+            else
+                nCursorSensitivity = SQL_UNSPECIFIED;
+            break;
+        case SQL_CURSOR_KEYSET_DRIVEN:
+            nCursorScrollable = SQL_SCROLLABLE;
+            if ( nConcurrency != SQL_CONCUR_READ_ONLY )
+                nCursorSensitivity = SQL_UNSPECIFIED;
+            break;
+        case SQL_CURSOR_DYNAMIC:
+            nCursorScrollable = SQL_SCROLLABLE;
+            if ( nConcurrency != SQL_CONCUR_READ_ONLY )
+                nCursorSensitivity = SQL_SENSITIVE;
+            break;
+        default:
+            MYODBCDbgReturn( pdia->doAppend( MYODBC_DIA_HY092, 0, NULL ) );
+    }
 
+    MYODBCDbgReturn( SQL_SUCCESS );
+}
+
+SQLRETURN MYODBCAttStatement::setEnableAutoIPD( SQLUINTEGER nEnableAutoIPD )
+{
+    MYODBCDbgEnter();
+
+    MYODBCDbgReturn( SQL_SUCCESS );
+}
+
+SQLRETURN MYODBCAttStatement::setFetchBookmarkPtr(SQLPOINTER pFetchBookmarkPtr )
+{
+    MYODBCDbgEnter();
+
+    MYODBCDbgReturn( SQL_SUCCESS );
+}
+
+SQLRETURN MYODBCAttStatement::setKeysetSize( SQLUINTEGER nKeysetSize )
+{
+    MYODBCDbgEnter();
+
+    MYODBCDbgReturn( SQL_SUCCESS );
+}
+
+SQLRETURN MYODBCAttStatement::setMaxLength( SQLUINTEGER nMaxLength )
+{
+    MYODBCDbgEnter();
+
+    MYODBCDbgReturn( SQL_SUCCESS );
+}
+
+SQLRETURN MYODBCAttStatement::setMaxRows( SQLUINTEGER nMaxRows )
+{
+    MYODBCDbgEnter();
+
+    MYODBCDbgReturn( SQL_SUCCESS );
+}
+
+SQLRETURN MYODBCAttStatement::setMetadataID( SQLUINTEGER nMetadataID )
+{
+    MYODBCDbgEnter();
+
+    MYODBCDbgReturn( SQL_SUCCESS );
+}
+
+SQLRETURN MYODBCAttStatement::setNoscan( SQLUINTEGER nNoscan )
+{
+    MYODBCDbgEnter();
+
+    MYODBCDbgReturn( SQL_SUCCESS );
+}
+
+SQLRETURN MYODBCAttStatement::setParamBindOffsetPtr( SQLUINTEGER *pnParamBindOffsetPtr )
+{
+    MYODBCDbgEnter();
+
+    MYODBCDbgReturn( SQL_SUCCESS );
+}
+
+SQLRETURN MYODBCAttStatement::setParamBindType( SQLUINTEGER nParamBindType )
+{
+    MYODBCDbgEnter();
+
+    MYODBCDbgReturn( SQL_SUCCESS );
+}
+
+SQLRETURN MYODBCAttStatement::setParamOperationPtr( SQLUSMALLINT *pnParamOperationPtr )
+{
+    MYODBCDbgEnter();
+
+    MYODBCDbgReturn( SQL_SUCCESS );
+}
+
+SQLRETURN MYODBCAttStatement::setParamStatusPtr( SQLUSMALLINT *pnParamStatusPtr )
+{
+    MYODBCDbgEnter();
+
+    MYODBCDbgReturn( SQL_SUCCESS );
+}
+
+SQLRETURN MYODBCAttStatement::setParamsProcessedPtr( SQLUINTEGER *pnParamsProcessedPtr )
+{
+    MYODBCDbgEnter();
+
+    MYODBCDbgReturn( SQL_SUCCESS );
+}
+
+SQLRETURN MYODBCAttStatement::setParamsetSize( SQLUINTEGER nParamsetSize )
+{
+    MYODBCDbgEnter();
+
+    MYODBCDbgReturn( SQL_SUCCESS );
+}
+
+SQLRETURN MYODBCAttStatement::setQueryTimeout( SQLUINTEGER nQueryTimeout )
+{
+    MYODBCDbgEnter();
+
+    MYODBCDbgReturn( SQL_SUCCESS );
+}
+
+SQLRETURN MYODBCAttStatement::setRetrieveData( SQLUINTEGER nRetrieveData )
+{
+    MYODBCDbgEnter();
+
+    MYODBCDbgReturn( SQL_SUCCESS );
+}
+
+SQLRETURN MYODBCAttStatement::setRowArraySize( SQLUINTEGER nRowArraySize )
+{
+    MYODBCDbgEnter();
+
+    MYODBCDbgReturn( SQL_SUCCESS );
+}
+
+SQLRETURN MYODBCAttStatement::setRowBindOffsetPtr( SQLUINTEGER *pnRowBindOffsetPtr )
+{
+    MYODBCDbgEnter();
+
+    MYODBCDbgReturn( SQL_SUCCESS );
+}
+
+SQLRETURN MYODBCAttStatement::setRowBindType( SQLUINTEGER nRowBindType )
+{
+    MYODBCDbgEnter();
+
+    MYODBCDbgReturn( SQL_SUCCESS );
+}
+
+SQLRETURN MYODBCAttStatement::setRowNumber( SQLUINTEGER nRowNumber )
+{
+    MYODBCDbgEnter();
+
+    MYODBCDbgReturn( SQL_SUCCESS );
+}
+
+SQLRETURN MYODBCAttStatement::setRowOperationPtr( SQLUSMALLINT *pnRowOperationPtr )
+{
+    MYODBCDbgEnter();
+
+    MYODBCDbgReturn( SQL_SUCCESS );
+}
+
+SQLRETURN MYODBCAttStatement::setRowStatusPtr( SQLUSMALLINT *pnRowStatusPtr )
+{
+    MYODBCDbgEnter();
+
+    MYODBCDbgReturn( SQL_SUCCESS );
+}
+
+SQLRETURN MYODBCAttStatement::setRowsFetchedPtr( SQLUINTEGER *pnRowsFetchedPtr )
+{
+    MYODBCDbgEnter();
+
+    MYODBCDbgReturn( SQL_SUCCESS );
+}
+
+SQLRETURN MYODBCAttStatement::setSimulateCursor( SQLUINTEGER nSimulateCursor )
+{
+    MYODBCDbgEnter();
+
+    MYODBCDbgReturn( SQL_SUCCESS );
+}
+
+SQLRETURN MYODBCAttStatement::setUseBookmarks( SQLUINTEGER nUseBookmarks )
+{
+    MYODBCDbgEnter();
+
+    MYODBCDbgReturn( SQL_SUCCESS );
+}
+
+
 SQLHANDLE MYODBCAttStatement::getStm()
 {
     MYODBCDbgEnter();
@@ -168,6 +371,20 @@
     MYODBCDbgReturn3( "%p", pAppRowDescOrig );
 }
 
+MYODBCDes *MYODBCAttStatement::getAppParamDesc()
+{
+    MYODBCDbgEnter();
+
+    MYODBCDbgReturn3( "%p", pAppParamDesc );
+}
+
+MYODBCDes *MYODBCAttStatement::getAppRowDesc()
+{
+    MYODBCDbgEnter();
+
+    MYODBCDbgReturn3( "%p", pAppRowDesc );
+}
+
 SQLUINTEGER MYODBCAttStatement::getAsyncEnable()
 {
     MYODBCDbgEnter();
@@ -210,7 +427,7 @@
     MYODBCDbgReturn3( "%d", nEnableAutoIPD );
 }
 
-SQLPOINTER  MYODBCAttStatement::getFetchBookmarkPtr()
+SQLPOINTER MYODBCAttStatement::getFetchBookmarkPtr()
 {
     MYODBCDbgEnter();
 

Modified: MYODBCAtt/include/MYODBCAttStatement.h
===================================================================
--- MYODBCAtt/include/MYODBCAttStatement.h	2006-01-20 20:04:33 UTC (rev 47)
+++ MYODBCAtt/include/MYODBCAttStatement.h	2006-01-21 01:51:11 UTC (rev 48)
@@ -16,20 +16,76 @@
     MYODBCAttStatement( SQLHANDLE hStm, MYODBCDia *pdia );
     virtual void ~MYODBCAttStatement();
 
-    virtual SQLRETURN setAppParamDesc( MYODBCDes *pdes );                       /*!<
SQL_ATTR_APP_PARAM_DESC            */
-    virtual SQLRETURN setAppRowDesc( MYODBCDes *pdes );                         /*!<
SQL_ATTR_APP_ROW_DESC              */       
-    virtual SQLRETURN setAsyncEnable( SQLUINTEGER nAsyncEnable );               /*!<
SQL_ATTR_ASYNC_ENABLE              */
-    virtual SQLRETURN setConcurrency( SQLUINTEGER nConcurrency );               /*!<
SQL_ATTR_CONCURRENCY               */
-    virtual SQLRETURN setCursorScrollable( SQLUINTEGER nCursorScrollable );     /*!<
SQL_ATTR_CURSOR_SCROLLABLE         */
-    virtual SQLRETURN setCursorSensitivity( SQLUINTEGER nCursorSensitivity );   /*!<
SQL_ATTR_CURSOR_SENSITIVITY        */
+    virtual SQLRETURN setAppParamDesc( MYODBCDes *pdes );                          
/*!< SQL_ATTR_APP_PARAM_DESC                                            */
+    virtual SQLRETURN setAppRowDesc( MYODBCDes *pdes );                            
/*!< SQL_ATTR_APP_ROW_DESC                                              */       
+    virtual SQLRETURN setAsyncEnable( SQLUINTEGER nAsyncEnable );                  
/*!< SQL_ATTR_ASYNC_ENABLE                                              */
+    virtual SQLRETURN setConcurrency( SQLUINTEGER nConcurrency );                  
/*!< SQL_ATTR_CONCURRENCY                                               */
+    virtual SQLRETURN setCursorScrollable( SQLUINTEGER nCursorScrollable );        
/*!< SQL_ATTR_CURSOR_SCROLLABLE                                         */
+    virtual SQLRETURN setCursorSensitivity( SQLUINTEGER nCursorSensitivity );      
/*!< SQL_ATTR_CURSOR_SENSITIVITY                                        */
+    virtual SQLRETURN setCursorType( SQLUINTEGER nCursorType );                    
/*!< SQL_ATTR_CURSOR_TYPE                                               */ 
+    virtual SQLRETURN setEnableAutoIPD( SQLUINTEGER nEnableAutoIPD );              
/*!< SQL_ATTR_ENABLE_AUTO_IPD                                           */
+    virtual SQLRETURN setFetchBookmarkPtr(SQLPOINTER pFetchBookmarkPtr );          
/*!< SQL_ATTR_FETCH_BOOKMARK_PTR                                        */
+    virtual SQLRETURN setKeysetSize( SQLUINTEGER nKeysetSize );                    
/*!< SQL_ATTR_KEYSET_SIZE                                               */
+    virtual SQLRETURN setMaxLength( SQLUINTEGER nMaxLength );                      
/*!< SQL_ATTR_MAX_LENGTH                                                */
+    virtual SQLRETURN setMaxRows( SQLUINTEGER nMaxRows );                          
/*!< SQL_ATTR_MAX_ROWS                                                  */
+    virtual SQLRETURN setMetadataID( SQLUINTEGER nMetadataID );                    
/*!< SQL_ATTR_METADATA_ID                                               */
+    virtual SQLRETURN setNoscan( SQLUINTEGER nNoscan );                            
/*!< SQL_ATTR_NOSCAN                                                    */
+    virtual SQLRETURN setParamBindOffsetPtr( SQLUINTEGER *pnParamBindOffsetPtr );  
/*!< SQL_ATTR_PARAM_BIND_OFFSET_PTR = APD->SQL_DESC_BIND_OFFSET_PTR     */
+    virtual SQLRETURN setParamBindType( SQLUINTEGER nParamBindType );              
/*!< SQL_ATTR_PARAM_BIND_TYPE = APD->SQL_DESC_ BIND_TYPE                */
+    virtual SQLRETURN setParamOperationPtr( SQLUSMALLINT *pnParamOperationPtr );   
/*!< SQL_ATTR_PARAM_OPERATION_PTR = APD->SQL_DESC_ARRAY_STATUS_PTR      */
+    virtual SQLRETURN setParamStatusPtr( SQLUSMALLINT *pnParamStatusPtr );         
/*!< SQL_ATTR_PARAM_STATUS_PTR = IPD->SQL_DESC_ARRAY_STATUS_PTR         */
+    virtual SQLRETURN setParamsProcessedPtr( SQLUINTEGER *pnParamsProcessedPtr );  
/*!< SQL_ATTR_PARAMS_PROCESSED_PTR = IPD->SQL_DESC_ROWS_PROCESSED_PTR   */
+    virtual SQLRETURN setParamsetSize( SQLUINTEGER nParamsetSize );                
/*!< SQL_ATTR_PARAMSET_SIZE = APD->SQL_DESC_ARRAY_SIZE                  */
+    virtual SQLRETURN setQueryTimeout( SQLUINTEGER nQueryTimeout );                
/*!< SQL_ATTR_QUERY_TIMEOUT                                             */
+    virtual SQLRETURN setRetrieveData( SQLUINTEGER nRetrieveData );                
/*!< SQL_ATTR_RETRIEVE_DATA                                             */
+    virtual SQLRETURN setRowArraySize( SQLUINTEGER nRowArraySize );                
/*!< SQL_ATTR_ROW_ARRAY_SIZE = ARD->SQL_DESC_ARRAY_SIZE                 */
+    virtual SQLRETURN setRowBindOffsetPtr( SQLUINTEGER *pnRowBindOffsetPtr );      
/*!< SQL_ATTR_ROW_BIND_OFFSET_PTR = ARD->SQL_DESC_BIND_OFFSET_PTR       */
+    virtual SQLRETURN setRowBindType( SQLUINTEGER nRowBindType );                  
/*!< SQL_ATTR_ROW_BIND_TYPE = ARD->SQL_DESC_BIND_TYPE                   */
+    virtual SQLRETURN setRowNumber( SQLUINTEGER nRowNumber );                      
/*!< SQL_ATTR_ROW_NUMBER                                                */
+    virtual SQLRETURN setRowOperationPtr( SQLUSMALLINT *pnRowOperationPtr );       
/*!< SQL_ATTR_ROW_OPERATION_PTR = ARD->SQL_DESC_ARRAY_STATUS_PTR        */ 
+    virtual SQLRETURN setRowStatusPtr( SQLUSMALLINT *pnRowStatusPtr );             
/*!< SQL_ATTR_ROW_STATUS_PTR = IRD->SQL_DESC_ARRAY_STATUS_PTR           */ 
+    virtual SQLRETURN setRowsFetchedPtr( SQLUINTEGER *pnRowsFetchedPtr );          
/*!< SQL_ATTR_ROWS_FETCHED_PTR = IRD->SQL_DESC_ROWS_PROCESSED_PTR       */ 
+    virtual SQLRETURN setSimulateCursor( SQLUINTEGER nSimulateCursor );            
/*!< SQL_ATTR_SIMULATE_CURSOR                                           */
+    virtual SQLRETURN setUseBookmarks( SQLUINTEGER nUseBookmarks );                
/*!< SQL_ATTR_USE_BOOKMARKS                                             */
 
-    SQLHANDLE   getStm();
-    MYODBCDia * getDia();
-    MYODBCDes * getAppParamDescOrig();
-    MYODBCDes * getAppRowDescOrig();
+    SQLHANDLE   getStm();                               /*!< Statement (which owns
us).                                         */ 
+    MYODBCDia * getDia();                               /*!< Statements diagnostic.   
                                         */ 
+    MYODBCDes * getAppParamDescOrig();                  /*!< Original app param desc. 
                                         */ 
+    MYODBCDes * getAppRowDescOrig();                    /*!< Original app row desc.   
                                         */ 
+    virtual MYODBCDes *getAppParamDesc();               /*!< SQL_ATTR_APP_PARAM_DESC  
                                         */
+    virtual MYODBCDes *getAppRowDesc();                 /*!< SQL_ATTR_APP_ROW_DESC    
                                         */
+    virtual SQLUINTEGER getAsyncEnable();               /*!< SQL_ATTR_ASYNC_ENABLE    
                                         */
+    virtual SQLUINTEGER getConcurrency();               /*!< SQL_ATTR_CONCURRENCY     
                                         */
+    virtual SQLUINTEGER getCursorScrollable();          /*!<
SQL_ATTR_CURSOR_SCROLLABLE                                         */
+    virtual SQLUINTEGER getCursorSensitivity();         /*!<
SQL_ATTR_CURSOR_SENSITIVITY                                        */
+    virtual SQLUINTEGER getCursorType();                /*!< SQL_ATTR_CURSOR_TYPE     
                                         */
+    virtual SQLUINTEGER getEnableAutoIPD();             /*!< SQL_ATTR_ENABLE_AUTO_IPD 
                                         */
+    virtual SQLPOINTER getFetchBookmarkPtr();           /*!<
SQL_ATTR_FETCH_BOOKMARK_PTR                                        */
+    virtual MYODBCDes *getImpParamDesc();               /*!< SQL_ATTR_IMP_PARAM_DESC  
                                         */
+    virtual MYODBCDes *getImpRowDesc();                 /*!< SQL_ATTR_IMP_ROW_DESC    
                                         */
+    virtual SQLUINTEGER getKeysetSize();                /*!< SQL_ATTR_KEYSET_SIZE     
                                         */
+    virtual SQLUINTEGER getMaxLength();                 /*!< SQL_ATTR_MAX_LENGTH      
                                         */
+    virtual SQLUINTEGER getMaxRows();                   /*!< SQL_ATTR_MAX_ROWS        
                                         */
+    virtual SQLUINTEGER getMetadataID();                /*!< SQL_ATTR_METADATA_ID     
                                         */
+    virtual SQLUINTEGER getNoscan();                    /*!< SQL_ATTR_NOSCAN          
                                         */
+    virtual SQLUINTEGER *getParamBindOffsetPtr();       /*!<
SQL_ATTR_PARAM_BIND_OFFSET_PTR = APD->SQL_DESC_BIND_OFFSET_PTR     */
+    virtual SQLUINTEGER getParamBindType();             /*!< SQL_ATTR_PARAM_BIND_TYPE
= APD->SQL_DESC_ BIND_TYPE                */
+    virtual SQLUSMALLINT *getParamOperationPtr();       /*!<
SQL_ATTR_PARAM_OPERATION_PTR = APD->SQL_DESC_ARRAY_STATUS_PTR      */
+    virtual SQLUSMALLINT *getParamStatusPtr();          /*!< SQL_ATTR_PARAM_STATUS_PTR
= IPD->SQL_DESC_ARRAY_STATUS_PTR         */
+    virtual SQLUINTEGER *getParamsProcessedPtr();       /*!<
SQL_ATTR_PARAMS_PROCESSED_PTR = IPD->SQL_DESC_ROWS_PROCESSED_PTR   */
+    virtual SQLUINTEGER getParamsetSize();              /*!< SQL_ATTR_PARAMSET_SIZE =
APD->SQL_DESC_ARRAY_SIZE                  */
+    virtual SQLUINTEGER getQueryTimeout();              /*!< SQL_ATTR_QUERY_TIMEOUT   
                                         */
+    virtual SQLUINTEGER getRetrieveData();              /*!< SQL_ATTR_RETRIEVE_DATA   
                                         */
+    virtual SQLUINTEGER getRowArraySize();              /*!< SQL_ATTR_ROW_ARRAY_SIZE =
ARD->SQL_DESC_ARRAY_SIZE                 */
+    virtual SQLUINTEGER *getRowBindOffsetPtr();         /*!<
SQL_ATTR_ROW_BIND_OFFSET_PTR = ARD->SQL_DESC_BIND_OFFSET_PTR       */
+    virtual SQLUINTEGER getRowBindType();               /*!< SQL_ATTR_ROW_BIND_TYPE =
ARD->SQL_DESC_BIND_TYPE                   */
+    virtual SQLUINTEGER getRowNumber();                 /*!< SQL_ATTR_ROW_NUMBER      
                                         */
+    virtual SQLUSMALLINT *getRowOperationPtr();         /*!<
SQL_ATTR_ROW_OPERATION_PTR = ARD->SQL_DESC_ARRAY_STATUS_PTR        */ 
+    virtual SQLUSMALLINT *getRowStatusPtr();            /*!< SQL_ATTR_ROW_STATUS_PTR =
IRD->SQL_DESC_ARRAY_STATUS_PTR           */ 
+    virtual SQLUINTEGER *getRowsFetchedPtr();           /*!< SQL_ATTR_ROWS_FETCHED_PTR
= IRD->SQL_DESC_ROWS_PROCESSED_PTR       */ 
+    virtual SQLUINTEGER getSimulateCursor();            /*!< SQL_ATTR_SIMULATE_CURSOR 
                                         */
+    virtual SQLUINTEGER getUseBookmarks();              /*!< SQL_ATTR_USE_BOOKMARKS   
                                         */
 
-    virtual SQLUINTEGER getAsyncEnable();
-
 protected:
     SQLHANDLE   hStm;                   /*!< Statement (which owns us).             */
        
     MYODBCDia * pdia;                   /*!< Statements diagnostic.                 */
@@ -52,21 +108,9 @@
     SQLUINTEGER nMaxRows;               /*!< SQL_ATTR_MAX_ROWS                      */
     SQLUINTEGER nMetadataID;            /*!< SQL_ATTR_METADATA_ID                   */
     SQLUINTEGER nNoscan;                /*!< SQL_ATTR_NOSCAN                        */
-//    SQLUINTEGER *   pnParamBindOffsetPtr;   /*!< SQL_ATTR_PARAM_BIND_OFFSET_PTR =
APD->SQL_DESC_BIND_OFFSET_PTR     */
-//    SQLUINTEGER     nParamBindType;         /*!< SQL_ATTR_PARAM_BIND_TYPE =
APD->SQL_DESC_ BIND_TYPE                */
-//    SQLUSMALLINT *  pnParamOperationPtr;    /*!< SQL_ATTR_PARAM_OPERATION_PTR =
APD->SQL_DESC_ARRAY_STATUS_PTR      */
-//    SQLUSMALLINT *  pnParamStatusPtr;       /*!< SQL_ATTR_PARAM_STATUS_PTR =
IPD->SQL_DESC_ARRAY_STATUS_PTR         */
-//    SQLUINTEGER *   pnParamsProcessedPtr;   /*!< SQL_ATTR_PARAMS_PROCESSED_PTR =
IPD->SQL_DESC_ROWS_PROCESSED_PTR   */
-//    SQLUINTEGER     nParamsetSize;          /*!< SQL_ATTR_PARAMSET_SIZE =
APD->SQL_DESC_ARRAY_SIZE                  */
     SQLUINTEGER nQueryTimeout;          /*!< SQL_ATTR_QUERY_TIMEOUT                 */
     SQLUINTEGER nRetrieveData;          /*!< SQL_ATTR_RETRIEVE_DATA                 */
-//    SQLUINTEGER     nRowArraySize;          /*!< SQL_ATTR_ROW_ARRAY_SIZE =
ARD->SQL_DESC_ARRAY_SIZE                 */
-//    SQLUINTEGER *   pnRowBindOffsetPtr;     /*!< SQL_ATTR_ROW_BIND_OFFSET_PTR =
ARD->SQL_DESC_BIND_OFFSET_PTR       */
-//    SQLUINTEGER     nRowBindType;           /*!< SQL_ATTR_ROW_BIND_TYPE =
ARD->SQL_DESC_BIND_TYPE                   */
     SQLUINTEGER nRowNumber;             /*!< SQL_ATTR_ROW_NUMBER                    */
-//    SQLUSMALLINT *  pnRowOperationPtr;      /*!< SQL_ATTR_ROW_OPERATION_PTR =
ARD->SQL_DESC_ARRAY_STATUS_PTR        */
-//    SQLUSMALLINT *  pnRowStatusPtr;         /*!< SQL_ATTR_ROW_STATUS_PTR =
IRD->SQL_DESC_ARRAY_STATUS_PTR           */
-//    SQLUINTEGER *   pnRowsFetchedPtr;       /*!< SQL_ATTR_ROWS_FETCHED_PTR =
IRD->SQL_DESC_ROWS_PROCESSED_PTR       */
     SQLUINTEGER nSimulateCursor;        /*!< SQL_ATTR_SIMULATE_CURSOR               */
     SQLUINTEGER nUseBookmarks;          /*!< SQL_ATTR_USE_BOOKMARKS                 */
 };

Thread
Connector/ODBC 5 commit: r48 - in MYODBCAtt: MYODBCAttLib includepharvey21 Jan