File tree Expand file tree Collapse file tree
mssql_python/pybind/connection Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ void Connection::allocateDbcHandle() {
4949 _dbcHandle = std::make_shared<SqlHandle>(SQL_HANDLE_DBC, dbc);
5050}
5151
52- SQLRETURN Connection::connect (const py::dict& attrs_before) {
52+ void Connection::connect (const py::dict& attrs_before) {
5353 LOG (" Connecting to database" );
5454 // Apply access token before connect
5555 if (!attrs_before.is_none () && py::len (attrs_before) > 0 ) {
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ class Connection {
1717 ~Connection ();
1818
1919 // Establish the connection using the stored connection string.
20- SQLRETURN connect (const py::dict& attrs_before = py::dict());
20+ void connect (const py::dict& attrs_before = py::dict());
2121
2222 // Disconnect and free the connection handle.
2323 void disconnect ();
You can’t perform that action at this time.
0 commit comments