Replaced german variable names with english
wxDbGetConnection() default on scrolling cursors did not use wxODBC_FWD_ONLY_CURSORS git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -5,6 +5,8 @@
|
||||
// source such as opening and closing the data source.
|
||||
// Author: Doug Card
|
||||
// Modified by: George Tasker
|
||||
// Bart Jourquin
|
||||
// Mark Johnson
|
||||
// Mods: Dec, 1998:
|
||||
// -Added support for SQL statement logging and database cataloging
|
||||
// April, 1999
|
||||
@@ -268,8 +270,8 @@ class WXDLLEXPORT wxDbColFor
|
||||
public:
|
||||
wxString s_Field; // Formated String for Output
|
||||
wxString s_Format[7]; // Formated Objects - TIMESTAMP has the biggest (7)
|
||||
wxString s_Menge[7]; // Formated Objects - amount of things that can be formatted
|
||||
int i_Menge[7]; // Formated Objects - TT MM YYYY HH MM SS m
|
||||
wxString s_Amount[7]; // Formated Objects - amount of things that can be formatted
|
||||
int i_Amount[7]; // Formated Objects - TT MM YYYY HH MM SS m
|
||||
int i_Nation; // 0 = timestamp , 1=EU, 2=UK, 3=International, 4=US
|
||||
int i_dbDataType; // conversion of the 'sqlDataType' to the generic data type used by these classes
|
||||
SWORD i_sqlDataType;
|
||||
@@ -303,6 +305,8 @@ public:
|
||||
int FkCol; // Foreign key column 0=No; 1= First Key, 2 = Second Key etc.
|
||||
char FkTableName[DB_MAX_TABLE_NAME_LEN+1]; // Foreign key table name
|
||||
wxDbColFor *pColFor; // How should this columns be formatted
|
||||
wxDbColInf();
|
||||
~wxDbColInf();
|
||||
};
|
||||
|
||||
|
||||
@@ -316,6 +320,8 @@ public:
|
||||
char tableRemarks[254+1];
|
||||
int numCols; // How many Columns does this Table have: GetColumnCount(..);
|
||||
wxDbColInf *pColInf; // pColInf = NULL ; User can later call GetColumns(..);
|
||||
wxDbTableInf();
|
||||
~wxDbTableInf();
|
||||
};
|
||||
|
||||
|
||||
@@ -326,6 +332,8 @@ public:
|
||||
char schema[128+1];
|
||||
int numTables; // How many tables does this database have
|
||||
wxDbTableInf *pTableInf; // pTableInf = new wxDbTableInf[numTables];
|
||||
wxDbInf();
|
||||
~wxDbInf();
|
||||
};
|
||||
|
||||
|
||||
@@ -479,7 +487,7 @@ public:
|
||||
#endif
|
||||
|
||||
// Public member functions
|
||||
wxDb(HENV &aHenv, bool FwdOnlyCursors=(bool)TRUE);
|
||||
wxDb(HENV &aHenv, bool FwdOnlyCursors=(bool)wxODBC_FWD_ONLY_CURSORS);
|
||||
bool Open(char *Dsn, char *Uid, char *AuthStr); // Data Source Name, User ID, Password
|
||||
void Close(void);
|
||||
bool CommitTrans(void);
|
||||
|
Reference in New Issue
Block a user