| pharvey@mysql.com 2005-03-30, 9:41 am |
| Below 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/myodb...t_sou
rce
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/ MYODBCDrvDisassociat
eDes.c
1.1 05/03/29 18:11:12 peterh@mysql.com +58 -0
MYODBCDrv/MYODBCDrvLib/ MYODBCDrvDisassociat
eDes.c
1.0 05/03/29 18:11:12 peterh@mysql.com +0 -0
BitKeeper file /home/pharvey/SandBox/MySQL/myodbc-3.53/MYODBCDrv/MYODBCDrvLib/ MYODBCDrvDisassociat
eDes.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/ MYODBCDrvDisassociat
eDes.c 05/03/29 18:11:12
/*!
\file MYODBCDrvDisassociat
eDes.c
\author Peter Harvey <pharvey@mysql.com>
Copyright MySQL AB 2004-2005 Released under GPL.
\version Connector/ODBC 3.53
\date 2005
\brief Contains the MYODBCDrvDisassociat
eDes utility.
*/
#include "MYODBCDrvInternal.h"
MYODBC_C_BOOL MYODBCDrvDisassociat
eDes( 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 ( !MYODBCDrvIsDesWithS
tm( pDes ) )
{
myodbc_free_desc_ext
ras( 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_or
ig )
{
MYODBC_DES_PTR pDes = pStm->attr_app_row_desc;
/* revert desc to original (implicit) */
pStm->attr_app_row_desc = pStm-> attr_app_row_desc_or
ig;
/* cleanup desc if not used by other stmt */
if ( !MYODBCDrvIsDesWithS
tm( pDes ) )
{
myodbc_free_desc_ext
ras( 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? unsu...sie.nctu.edu.tw
|