Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Improve exception handling/reporting in HANA
  • Loading branch information
mrylov authored and nyalldawson committed Feb 11, 2021
1 parent 8d08e3f commit b6335dd
Show file tree
Hide file tree
Showing 5 changed files with 249 additions and 153 deletions.
5 changes: 5 additions & 0 deletions src/providers/hana/qgshanaconnectionpool.h
Expand Up @@ -94,6 +94,11 @@ class QgsHanaConnectionRef
QgsHanaConnectionRef() = default;
QgsHanaConnectionRef( const QString &name );
QgsHanaConnectionRef( const QgsDataSourceUri &uri );

QgsHanaConnectionRef( QgsHanaConnectionRef &&other ) = default;
QgsHanaConnectionRef &operator=( QgsHanaConnectionRef && ) = delete;
Q_DISABLE_COPY( QgsHanaConnectionRef )

~QgsHanaConnectionRef();

bool isNull() const { return mConnection.get() == nullptr; }
Expand Down

0 comments on commit b6335dd

Please sign in to comment.