bk commit - Connector/ODBC 3.53 (1.36)
am 30.03.2005 04:11:40 von pharveyBelow is the list of changes that have just been commited into a local
MyODBC 3.53 repository of 'pharvey'. When 'pharvey' does a push, they will
be propogaged to the main repository and within 2 hours after the push
into the public repository.
For more information on how to access the public repository see:
http://www.mysql.com/products/myodbc/faq_2.html#Development_ source
You can also browse the changes from public repository:
Complete repository: http://mysql.bkbits.net:8080/myodbc-3.53/
This changeset : http://mysql.bkbits.net:8080/myodbc-3.53/cset@1.36
ChangeSet
1.36 05/03/29 18:11:39 peterh@mysql.com +1 -0
- added function
MYODBCDrv/MYODBCDrvLib/MYODBCDrvDisassociateDes.c
1.1 05/03/29 18:11:12 peterh@mysql.com +58 -0
MYODBCDrv/MYODBCDrvLib/MYODBCDrvDisassociateDes.c
1.0 05/03/29 18:11:12 peterh@mysql.com +0 -0
BitKeeper file /home/pharvey/SandBox/MySQL/myodbc-3.53/MYODBCDrv/MYODBCDrvL ib/MYODBCDrvDisassociateDes.c
# This is a BitKeeper patch. What follows are the unified diffs for the
# set of deltas contained in the patch. The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User: peterh
# Host: thinkpad.peterharvey.org
# Root: /home/pharvey/SandBox/MySQL/myodbc-3.53
--- New file ---
+++ MYODBCDrv/MYODBCDrvLib/MYODBCDrvDisassociateDes.c 05/03/29 18:11:12
/*!
\file MYODBCDrvDisassociateDes.c
\author Peter Harvey
Copyright MySQL AB 2004-2005 Released under GPL.
\version Connector/ODBC 3.53
\date 2005
\brief Contains the MYODBCDrvDisassociateDes utility.
*/
#include "MYODBCDrvInternal.h"
MYODBC_C_BOOL MYODBCDrvDisassociateDes( MYODBC_DRV_STM_PTR pStm,
MYODBC_RTTI_DES_TYPE nTypeSubID )
{
switch ( nTypeSubID )
{
case MYODBC_RTTI_DES_APD:
/* do we have an *explicit* desc */
if ( pStm->attr_app_param_desc != pStm->attr_app_param_desc_orig )
{
MYODBC_DES_PTR pDes = pStm->attr_app_param_desc;
/* revert desc to original (implicit) */
pStm->attr_app_param_desc = pStm->attr_app_param_desc_orig;
/* cleanup desc if not used by other stmt */
if ( !MYODBCDrvIsDesWithStm( pDes ) )
{
myodbc_free_desc_extras( pDes );
pDes->nTypeSubID = MYODBC_RTTI_DES_UND;
}
}
break;
case MYODBC_RTTI_DES_ARD:
/* do we have an *explicit* desc */
if ( pStm->attr_app_row_desc != pStm->attr_app_row_desc_orig )
{
MYODBC_DES_PTR pDes = pStm->attr_app_row_desc;
/* revert desc to original (implicit) */
pStm->attr_app_row_desc = pStm->attr_app_row_desc_orig;
/* cleanup desc if not used by other stmt */
if ( !MYODBCDrvIsDesWithStm( pDes ) )
{
myodbc_free_desc_extras( pDes );
pDes->nTypeSubID = MYODBC_RTTI_DES_UND;
}
}
break;
case MYODBC_RTTI_DES_UND:
case MYODBC_RTTI_DES_IPD:
case MYODBC_RTTI_DES_IRD:
/* it does not make sense call with these */
return MYODBC_C_FALSE;
default:
return MYODBC_C_FALSE;
}
return MYODBC_C_TRUE;
}
--
MySQL ODBC Mailing List
For list archives: http://lists.mysql.com/myodbc
To unsubscribe: http://lists.mysql.com/myodbc?unsub=gcdmo-myodbc@m.gmane.org