Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lafenghu
unixODBC
unixODBC-2.2.12-ctracing.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File unixODBC-2.2.12-ctracing.patch of Package unixODBC
--- odbcinstQ/CTracing.cpp +++ odbcinstQ/CTracing.cpp @@ -85,12 +85,12 @@ SQLGetPrivateProfileString( "ODBC", "Trace", "No", szTracing, sizeof(szTracing), "odbcinst.ini" ); if ( szTracing[0] == '1' || toupper( szTracing[0] ) == 'Y' - || ( toupper( szTracing[0] ) == 'O' && toupper( szForce[0] ) == 'N' )) + || ( toupper( szTracing[0] ) == 'O' && toupper( szTracing[1] ) == 'N' )) pTracing->setChecked( true ); SQLGetPrivateProfileString( "ODBC", "ForceTrace", "No", szForce, sizeof(szForce), "odbcinst.ini" ); if ( szForce[0] == '1' || toupper( szForce[0] ) == 'Y' - || ( toupper( szForce[0] ) == 'O' && toupper( szForce[0] ) == 'N' )) + || ( toupper( szForce[0] ) == 'O' && toupper( szForce[1] ) == 'N' )) pForce->setChecked( true ); SQLGetPrivateProfileString( "ODBC", "TraceFile", "/tmp/sql.log", szTracingFile, sizeof(szTracingFile)-1, "odbcinst.ini" ); @@ -98,7 +98,7 @@ SQLGetPrivateProfileString( "ODBC", "Pooling", "No", szPooling, sizeof(szPooling), "odbcinst.ini" ); if ( szPooling[0] == '1' || toupper( szPooling[0] ) == 'Y' - || ( toupper( szPooling[0] ) == 'O' && toupper( szForce[0] ) == 'N' )) + || ( toupper( szPooling[0] ) == 'O' && toupper( szPooling[1] ) == 'N' )) pPooling->setChecked( true ); connect( pSetDefault, SIGNAL(clicked()), SLOT(setDefault()) );
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor