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/Library | jbalint | 21 Dec |