X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e4e45573151c64a0a9d423eca7b29879640b9d77..e32d4b8f07fa4315b7641861c6b740e149b7e6fd:/include/wx/db.h diff --git a/include/wx/db.h b/include/wx/db.h index 795b7912f5..070fdce330 100644 --- a/include/wx/db.h +++ b/include/wx/db.h @@ -460,7 +460,8 @@ enum wxDBMS dbmsDB2, dbmsINTERBASE, dbmsPERVASIVE_SQL, - dbmsXBASE_SEQUITER + dbmsXBASE_SEQUITER, + dbmsFIREBIRD }; @@ -498,6 +499,7 @@ private: bool setConnectionOptions(void); void logError(const wxString &errMsg, const wxString &SQLState); const wxChar *convertUserID(const wxChar *userID, wxString &UserID); + bool determineDataTypes(bool failOnDataTypeUnsupported); void initialize(); bool open(bool failOnDataTypeUnsupported=true); @@ -624,6 +626,7 @@ public: bool CreateView(const wxString &viewName, const wxString &colList, const wxString &pSqlStmt, bool attemptDrop=true); bool DropView(const wxString &viewName); bool ExecSql(const wxString &pSqlStmt); + bool ExecSql(const wxString &pSqlStmt, wxDbColInf** columns, short& numcols); bool GetNext(void); bool GetData(UWORD colNo, SWORD cType, PTR pData, SDWORD maxLen, SDWORD FAR *cbReturned); bool Grant(int privileges, const wxString &tableName, const wxString &userList = wxT("PUBLIC"));