#include "wx/string.h"
#include "wx/utils.h"
#include "wx/log.h"
+ #include "wx/crt.h"
#endif
#ifdef DBDEBUG_CONSOLE
DerivedCol = false;
CbValue = 0;
Null = false;
+ CbValueCol = 0;
return true;
} // wxDbColDef::Initialize()
for (i = 0; i < m_numCols; i++)
{
if (SQLBindCol(cursor, (UWORD)(i+1), colDefs[i].SqlCtype, (UCHAR*) colDefs[i].PtrDataObj,
- colDefs[i].SzDataObj, &colDefs[i].CbValue ) != SQL_SUCCESS)
+ colDefs[i].SzDataObj, &colDefs[i].CbValueCol ) != SQL_SUCCESS)
return (pDb->DispAllErrors(henv, hdbc, cursor));
}
// of each column just read in.
int i;
for (i = 0; i < m_numCols; i++)
- colDefs[i].Null = (colDefs[i].CbValue == SQL_NULL_DATA);
+ colDefs[i].Null = (colDefs[i].CbValueCol == SQL_NULL_DATA);
}
}
else
// of each column just read in.
int i;
for (i = 0; i < m_numCols; i++)
- colDefs[i].Null = (colDefs[i].CbValue == SQL_NULL_DATA);
+ colDefs[i].Null = (colDefs[i].CbValueCol == SQL_NULL_DATA);
}
}