[SF#789459] Add support for connection strings. The patch originally submitted was not comprehensive enough to use for the connection caching, so a significant number of additional changes were added to support opening a connection with a connection string
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -410,7 +410,7 @@ ODBC 3.0 says to use this form
|
||||
/***************************** PRIVATE FUNCTIONS *****************************/
|
||||
|
||||
|
||||
bool wxDbTable::setCbValueForColumn(int columnIndex)
|
||||
void wxDbTable::setCbValueForColumn(int columnIndex)
|
||||
{
|
||||
switch(colDefs[columnIndex].DbDataType)
|
||||
{
|
||||
@@ -2535,7 +2535,7 @@ bool wxDbTable::SetColNull(UWORD colNo, bool set)
|
||||
if (set) // Blank out the values in the member variable
|
||||
ClearMemberVar(colNo, FALSE); // Must call with FALSE here, or infinite recursion will happen
|
||||
|
||||
setCbValueForColumn(i);
|
||||
setCbValueForColumn(colNo);
|
||||
|
||||
return(TRUE);
|
||||
}
|
||||
@@ -2561,7 +2561,7 @@ bool wxDbTable::SetColNull(const wxString &colName, bool set)
|
||||
if (set) // Blank out the values in the member variable
|
||||
ClearMemberVar(colNo,FALSE); // Must call with FALSE here, or infinite recursion will happen
|
||||
|
||||
setCbValueForColumn(i);
|
||||
setCbValueForColumn(colNo);
|
||||
|
||||
return(TRUE);
|
||||
}
|
||||
|
Reference in New Issue
Block a user