#include "wx/list.h"
#include "wx/utils.h"
#include "wx/msgdlg.h"
+ #include "wx/log.h"
#endif
#include "wx/filefn.h"
#include "wx/wxchar.h"
{
s.sprintf("(%-20s) tableID:[%6lu] pDb:[%p]", tiu->tableName,tiu->tableID,tiu->pDb);
s2.sprintf("Orphaned found using pDb:[%p]",this);
- wxLogDebug (s,s2);
+ wxLogDebug (s.c_str(),s2.c_str());
}
pNode = pNode->Next();
}
{
if (colInf[colNo].columnSize < 1)
{
- // Apparently mySQL and Postgres (or their ODBC drivers) do not
- // return a columnSize, so set columnSize = bufferLength
- // if no column size was returned
+ // IODBC does not return a correct columnSize, so we set
+ // columnSize = bufferLength if no column size was returned
colInf[colNo].columnSize = colInf[colNo].bufferLength;
}
colInf[colNo].dbDataType = DB_DATA_TYPE_VARCHAR;
{
if (colInf[colNo].columnSize < 1)
{
- // Apparently mySQL and Postgres (or their ODBC drivers) do not
- // return a columnSize, so set columnSize = bufferLength
- // if no column size was returned
+ // IODBC does not return a correct columnSize, so we set
+ // columnSize = bufferLength if no column size was returned
colInf[colNo].columnSize = colInf[colNo].bufferLength;
}
colInf[colNo].dbDataType = DB_DATA_TYPE_VARCHAR;