From: George Tasker Date: Wed, 19 Nov 2003 14:44:50 +0000 (+0000) Subject: Added a parameter 'failOnDataTypeUnsupported' to getDbInfo (that defaults to TRUE... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/981cf2aadb40b112e3372aeffb7898bbe2ed0acb Added a parameter 'failOnDataTypeUnsupported' to getDbInfo (that defaults to TRUE keeping current functional behavior intact)), that will allow the user to override whether a call to getDbInfo() should fail immediately if a data type request reports back that it is unsupported/unavailable git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/db.h b/include/wx/db.h index 8bff95b46e..1c007c953c 100644 --- a/include/wx/db.h +++ b/include/wx/db.h @@ -491,7 +491,7 @@ private: wxDBMS dbmsType; // Type of datasource - i.e. Oracle, dBase, SQLServer, etc // Private member functions - bool getDbInfo(void); + bool getDbInfo(bool failOnDataTypeUnsupported = TRUE); bool getDataTypeInfo(SWORD fSqlType, wxDbSqlTypeInfo &structSQLTypeInfo); bool setConnectionOptions(void); void logError(const wxString &errMsg, const wxString &SQLState);