Below is the list of changes that have just been commited into a local
MyODBC 3.51 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/myodbc3/
This changeset : http://mysql.bkbits.net:8080/myodbc3/cset [at] 1.442
ChangeSet
1.442 05/01/28 09:02:16 peterh [at] mysql.com +5 -0
- corrected inconsistency with connect attribute names
- added support for more alternate attribute names (for read - not write)
util/MYODBCUtilWriteDataSource.c
1.4 05/01/28 09:02:15 peterh [at] mysql.com +2 -2
- corrected inconsistency with connect attribute names
- added support for more alternate attribute names (for read - not write)
util/MYODBCUtilReadDataSourceStr.c
1.9 05/01/28 09:02:15 peterh [at] mysql.com +2 -2
- corrected inconsistency with connect attribute names
- added support for more alternate attribute names (for read - not write)
util/MYODBCUtilReadDataSource.c
1.8 05/01/28 09:02:15 peterh [at] mysql.com +4 -4
- corrected inconsistency with connect attribute names
- added support for more alternate attribute names (for read - not write)
util/MYODBCUtilReadConnectStr.c
1.5 05/01/28 09:02:15 peterh [at] mysql.com +2 -2
- corrected inconsistency with connect attribute names
- added support for more alternate attribute names (for read - not write)
ChangeLog
1.28 05/01/28 09:02:15 peterh [at] mysql.com +1 -0
- corrected inconsistency with connect attribute names
- added support for more alternate attribute names (for read - not write)
# 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: peter.peterharvey.org
# Root: /home/pharvey/SandBox/MySQL/myodbc-3.51
--- 1.27/ChangeLog Wed Jan 26 13:02:25 2005
+++ 1.28/ChangeLog Fri Jan 28 09:02:15 2005
[at] [at] -11,6 +11,7 [at] [at]
SQL_DRIVER_PROMPT
-- Corrected a number of problems with connecting via SQLDriverConnect
This helps; MS Access and ADO/VB.
+-- Enhanced SQLGetTypeInfo - mostly for blob types.
---------------------------------------------
15-Dec-2004 : pharvey [at] mysql.com
--- 1.4/util/MYODBCUtilReadConnectStr.c Thu Jan 13 20:10:35 2005
+++ 1.5/util/MYODBCUtilReadConnectStr.c Fri Jan 28 09:02:15 2005
[at] [at] -99,12 +99,12 [at] [at]
/* ';' terminates name/value but we may not find one for last */
if ( *pScanChar == ';' || *pScanChar == '\0' )
{
- if ( strcasecmp( pszName, "DATABASE" ) == 0 )
+ if ( strcasecmp( pszName, "DATABASE" ) == 0 || strcasecmp( pszName, "DB" ) == 0 )
{
if ( !pDataSource->pszDATABASE )
pDataSource->pszDATABASE = (char *)strndup( pAnchorChar, pScanChar - pAnchorChar ) ;
}
- else if ( strcasecmp( pszName, "DESCRIPTION" ) == 0 )
+ else if ( strcasecmp( pszName, "DESCRIPTION" ) == 0 || strcasecmp( pszName, "DESC" ) == 0 )
{
if ( !pDataSource->pszDESCRIPTION )
pDataSource->pszDESCRIPTION = (char *)strndup( pAnchorChar, pScanChar - pAnchorChar );
--- 1.7/util/MYODBCUtilReadDataSource.c Tue Jan 25 08:18:18 2005
+++ 1.8/util/MYODBCUtilReadDataSource.c Fri Jan 28 09:02:15 2005
[at] [at] -138,12 +138,12 [at] [at]
connection string, the driver uses the information in the connection
string.
*/
- if ( strcasecmp( pszEntryName, "DATABASE" ) == 0 )
+ if ( strcasecmp( pszEntryName, "DATABASE" ) == 0 || strcasecmp( pszEntryName, "DB" ) == 0 )
{
if ( !pDataSource->pszDATABASE )
pDataSource->pszDATABASE = strdup( szValue ) ;
}
- else if ( strcasecmp( pszEntryName, "DESCRIPTION" ) == 0 )
+ else if ( strcasecmp( pszEntryName, "DESCRIPTION" ) == 0 || strcasecmp( pszEntryName, "DESC" ) == 0 )
{
if ( !pDataSource->pszDESCRIPTION )
pDataSource->pszDESCRIPTION = strdup( szValue );
[at] [at] -171,7 +171,7 [at] [at]
if ( !pDataSource->pszOPTION )
pDataSource->pszOPTION = strdup( szValue );
}
- else if ( strcasecmp( pszEntryName, "PASSWORD" ) == 0 )
+ else if ( strcasecmp( pszEntryName, "PWD" ) == 0 || strcasecmp( pszEntryName, "PASSWORD" ) == 0 )
{
if ( !pDataSource->pszPASSWORD )
pDataSource->pszPASSWORD = strdup( szValue );
[at] [at] -196,7 +196,7 [at] [at]
if ( !pDataSource->pszSTMT )
pDataSource->pszSTMT = strdup( szValue );
}
- else if ( strcasecmp( pszEntryName, "USER" ) == 0 )
+ else if ( strcasecmp( pszEntryName, "UID" ) == 0 || strcasecmp( pszEntryName, "USER" ) == 0 )
{
if ( !pDataSource->pszUSER )
pDataSource->pszUSER = strdup( szValue );
--- 1.8/util/MYODBCUtilReadDataSourceStr.c Tue Jan 25 08:18:18 2005
+++ 1.9/util/MYODBCUtilReadDataSourceStr.c Fri Jan 28 09:02:15 2005
[at] [at] -160,12 +160,12 [at] [at]
{
if ( MYODBCUtilReadDataSourceStrValTerm( nDelim, *pScanChar ) )
{
- if ( strcasecmp( pszName, "DATABASE" ) == 0 )
+ if ( strcasecmp( pszName, "DATABASE" ) == 0 || strcasecmp( pszName, "DB" ) == 0 )
{
if ( !pDataSource->pszDATABASE )
pDataSource->pszDATABASE = (char *)strndup( pAnchorChar, pScanChar - pAnchorChar ) ;
}
- else if ( strcasecmp( pszName, "DESCRIPTION" ) == 0 )
+ else if ( strcasecmp( pszName, "DESCRIPTION" ) == 0 || strcasecmp( pszName, "DESC" ) == 0 )
{
if ( !pDataSource->pszDESCRIPTION )
pDataSource->pszDESCRIPTION = (char *)strndup( pAnchorChar, pScanChar - pAnchorChar );
--- 1.3/util/MYODBCUtilWriteDataSource.c Sun Nov 21 16:12:19 2004
+++ 1.4/util/MYODBCUtilWriteDataSource.c Fri Jan 28 09:02:15 2005
[at] [at] -53,7 +53,7 [at] [at]
!SQLWritePrivateProfileString( pDataSource->pszDSN, "OPTION", pDataSource->pszOPTION, "odbc.ini" ) )
return FALSE;
if ( pDataSource->pszPASSWORD &&
- !SQLWritePrivateProfileString( pDataSource->pszDSN, "PASSWORD", pDataSource->pszPASSWORD, "odbc.ini" ) )
+ !SQLWritePrivateProfileString( pDataSource->pszDSN, "PWD", pDataSource->pszPASSWORD, "odbc.ini" ) )
return FALSE;
if ( pDataSource->pszPORT &&
!SQLWritePrivateProfileString( pDataSource->pszDSN, "PORT", pDataSource->pszPORT, "odbc.ini" ) )
[at] [at] -68,7 +68,7 [at] [at]
!SQLWritePrivateProfileString( pDataSource->pszDSN, "STMT", pDataSource->pszSTMT, "odbc.ini" ) )
return FALSE;
if ( pDataSource->pszUSER &&
- !SQLWritePrivateProfileString( pDataSource->pszDSN, "USER", pDataSource->pszUSER, "odbc.ini" ) )
+ !SQLWritePrivateProfileString( pDataSource->pszDSN, "UID", pDataSource->pszUSER, "odbc.ini" ) )
return FALSE;
return TRUE;
--
MySQL ODBC Mailing List
For list archives: http://lists.mysql.com/myodbc
To unsubscribe: http://lists.mysql.com/myodbc?unsub=gcdmo-myodbc [at] m.gmane.org
