wxODBC_BLOB_SUPPORT changed to just being a #define.

BLOB support is on by default


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
George Tasker
2004-05-12 14:03:23 +00:00
parent ae883e9aee
commit dd5b579ceb
2 changed files with 7 additions and 9 deletions

View File

@@ -1027,6 +1027,7 @@ void Ccontact::Initialize()
IsDeveloper = FALSE;
Contributions = 0;
LinesOfCode = 0L;
wxStrcpy(Picture,"\xff\x01\xff\x02\xff\x03\xff\x04\xff\x05");
} // Ccontact::Initialize
@@ -1067,8 +1068,8 @@ void Ccontact::SetupColumns()
SetColDefs ( 9,wxT("CONTRIBS"), DB_DATA_TYPE_INTEGER, &Contributions, SQL_C_UTINYINT, sizeof(Contributions), FALSE,TRUE);
SetColDefs (10,wxT("LINE_CNT"), DB_DATA_TYPE_INTEGER, &LinesOfCode, SQL_C_ULONG, sizeof(LinesOfCode), FALSE,TRUE);
SetColDefs (11,wxT("LANGUAGE"), DB_DATA_TYPE_INTEGER, &NativeLanguage, SQL_C_ENUM, sizeof(NativeLanguage), FALSE,TRUE);
#if wxODBC_BLOB_EXPERIMENT > 0
SetColDefs (12,wxT("PICTURE"), DB_DATA_TYPE_BLOB, Picture, SQL_C_BINARY, sizeof(Picture), FALSE,TRUE);
#ifdef wxODBC_BLOB_SUPPORT
SetColDefs (12,wxT("PICTURE"), DB_DATA_TYPE_BLOB, Picture, SQL_C_BINARY, sizeof(Picture), FALSE,TRUE);
#endif
} // Ccontact::SetupColumns