Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove unused odbc includes in HANA provider
  • Loading branch information
Maksim Rylov authored and mrylov committed Dec 7, 2020
1 parent a845995 commit af3d5af
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 11 deletions.
2 changes: 0 additions & 2 deletions src/providers/hana/qgshanafeatureiterator.cpp
Expand Up @@ -26,8 +26,6 @@
#include "qgsmessagelog.h"
#include "qgssettings.h"

using namespace odbc;

static QString andWhereClauses( const QString &c1, const QString &c2 )
{
if ( c1.isEmpty() )
Expand Down
1 change: 0 additions & 1 deletion src/providers/hana/qgshanaprovider.cpp
Expand Up @@ -42,7 +42,6 @@

#include <ctype.h>

#include "odbc/Exception.h"
#include "odbc/PreparedStatement.h"
#include "odbc/ResultSetMetaData.h"

Expand Down
8 changes: 0 additions & 8 deletions src/providers/hana/qgshanaproviderconnection.cpp
Expand Up @@ -25,14 +25,6 @@
#include "qgsexception.h"
#include "qgssettings.h"

#include "odbc/Connection.h"
#include "odbc/Exception.h"
#include "odbc/ResultSet.h"
#include "odbc/ResultSetMetaData.h"
#include "odbc/Statement.h"

using namespace odbc;

QgsHanaProviderConnection::QgsHanaProviderConnection( const QString &name )
: QgsAbstractDatabaseProviderConnection( name )
{
Expand Down
1 change: 1 addition & 0 deletions src/providers/hana/qgshanaresultset.cpp
Expand Up @@ -21,6 +21,7 @@
#include <QString>

#include "odbc/Exception.h"

using namespace odbc;

QgsHanaResultSet::QgsHanaResultSet( ResultSetRef &&resultSet )
Expand Down

0 comments on commit af3d5af

Please sign in to comment.