--- a/src/DriverManager.h Sun May 31 16:56:07 2020 +0200
+++ b/src/DriverManager.h Sun May 31 21:20:24 2020 +0200
@@ -39,7 +39,7 @@
*/
class DriverManager {
private:
- void* env;
+ void* environment;
std::wstring_convert<std::codecvt_utf8<wchar_t>> convertor; // TODO: support also other encodings
public:
@@ -54,8 +54,7 @@
virtual ~DriverManager();
std::vector<DataSource> getDataSources();
Connection* getConnectionByDSN(relpipe::reader::string_t dataSourceName, relpipe::reader::string_t userName = L"", relpipe::reader::string_t password = L"");
- Connection* getConnectionByString(relpipe::reader::string_t connectionString);
- relpipe::reader::string_t buildDSN(const std::map<relpipe::reader::string_t, relpipe::reader::string_t>& parameters);
+ Connection* getConnectionByURL(relpipe::reader::string_t connectionString);
};
}