git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mark Johnson 2000-08-12 11:14:40 +00:00
parent 6d9f443958
commit 0cd121f9e1

View File

@ -6,7 +6,7 @@
// Author: Doug Card // Author: Doug Card
// Modified by: George Tasker // Modified by: George Tasker
// Bart Jourquin // Bart Jourquin
// Mark Johnson // Mark Johnson, wxWindows@mj10777.de
// Mods: Dec, 1998: // Mods: Dec, 1998:
// -Added support for SQL statement logging and database cataloging // -Added support for SQL statement logging and database cataloging
// Mods: April, 1999 // Mods: April, 1999
@ -227,9 +227,9 @@ wxDbInf::wxDbInf()
/********** wxDbInf Destructor *************/ /********** wxDbInf Destructor *************/
wxDbInf::~wxDbInf() wxDbInf::~wxDbInf()
{ {
if (pTableInf) if (pTableInf)
delete [] pTableInf; delete [] pTableInf;
pTableInf = NULL; pTableInf = NULL;
} // wxDbInf::~wxDbInf() } // wxDbInf::~wxDbInf()
@ -239,7 +239,7 @@ wxDbInf::~wxDbInf()
int wxDbColFor::Format(int Nation,int dbDataType,SWORD sqlDataType,short columnSize,short decimalDigits) int wxDbColFor::Format(int Nation,int dbDataType,SWORD sqlDataType,short columnSize,short decimalDigits)
{ {
// ---------------------------------------------------------------------------------------- // ----------------------------------------------------------------------------------------
// -- 19991224 : mj10777@gmx.net : Create // -- 19991224 : mj10777 : Create
// There is still a lot of work to do here, but it is a start // There is still a lot of work to do here, but it is a start
// It handles all the basic data-types that I have run into up to now // It handles all the basic data-types that I have run into up to now
// The main work will have be with Dates and float Formatting // The main work will have be with Dates and float Formatting
@ -1538,7 +1538,7 @@ int wxDb::GetKeyFields(char *tableName, wxDbColInf* colInf, int noCols)
wxString Temp0; wxString Temp0;
/* /*
* --------------------------------------------------------------------- * ---------------------------------------------------------------------
* -- 19991224 : mj10777@gmx.net : Create ------ * -- 19991224 : mj10777 : Create ------
* -- : Three things are done and stored here : ------ * -- : Three things are done and stored here : ------
* -- : 1) which Column(s) is/are Primary Key(s) ------ * -- : 1) which Column(s) is/are Primary Key(s) ------
* -- : 2) which tables use this Key as a Foreign Key ------ * -- : 2) which tables use this Key as a Foreign Key ------
@ -2478,7 +2478,7 @@ int wxDb::GetColumnCount(char *tableName, const char *userID)
wxDbInf *wxDb::GetCatalog(char *userID) wxDbInf *wxDb::GetCatalog(char *userID)
/* /*
* --------------------------------------------------------------------- * ---------------------------------------------------------------------
* -- 19991203 : mj10777@gmx.net : Create ------ * -- 19991203 : mj10777 : Create ------
* -- : Creates a wxDbInf with Tables / Cols Array ------ * -- : Creates a wxDbInf with Tables / Cols Array ------
* -- : uses SQLTables and fills pTableInf; ------ * -- : uses SQLTables and fills pTableInf; ------
* -- : pColInf is set to NULL and numCols to 0; ------ * -- : pColInf is set to NULL and numCols to 0; ------