From 981cf2aadb40b112e3372aeffb7898bbe2ed0acb Mon Sep 17 00:00:00 2001 From: George Tasker Date: Wed, 19 Nov 2003 14:44:50 +0000 Subject: [PATCH] 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 --- include/wx/db.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.50.0