List:Commits« Previous MessageNext Message »
From:jbalint Date:December 21 2006 5:44am
Subject:Connector/ODBC 5 commit: r757 - branches/feature-linux-port/SDK/Installer/Library
View as plain text  
Modified:
   branches/feature-linux-port/SDK/Installer/Library/MYODBCInsDataSource.cpp
Log:
Fixed param that shouldn't be null



Modified: branches/feature-linux-port/SDK/Installer/Library/MYODBCInsDataSource.cpp
===================================================================
--- branches/feature-linux-port/SDK/Installer/Library/MYODBCInsDataSource.cpp	2006-12-20
04:03:19 UTC (rev 756)
+++ branches/feature-linux-port/SDK/Installer/Library/MYODBCInsDataSource.cpp	2006-12-21
05:44:32 UTC (rev 757)
@@ -309,7 +309,7 @@
 
     *sEntryNames = '\0';
     MYODBCC::QString_toWString( stringDataSourceName, &msg );
-    if ( ( nChars = SQLGetPrivateProfileString( msg.c_str(), NULL, NULL, sEntryNames,
sizeof(sEntryNames) / sizeof(SQLWCHAR), L"ODBC.INI" ) ) < 1 )
+    if ( ( nChars = SQLGetPrivateProfileString( msg.c_str(), NULL, L"", sEntryNames,
sizeof(sEntryNames) / sizeof(SQLWCHAR), L"ODBC.INI" ) ) < 1 )
         goto doReadExit1;
 
 #if defined(WIN32)

Thread
Connector/ODBC 5 commit: r757 - branches/feature-linux-port/SDK/Installer/Libraryjbalint21 Dec