Skip to content

Commit

Permalink
Update src/providers/db2/qgsdb2provider.h
Browse files Browse the repository at this point in the history
  • Loading branch information
dwadler authored and nyalldawson committed Nov 20, 2018
1 parent d998465 commit 63aa1e1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/providers/db2/qgsdb2provider.h
Expand Up @@ -24,6 +24,7 @@
#include "qgsgeometry.h"
#include "qgsfields.h"
#include <QtSql>
#include <QMutex>

/**
* \class QgsDb2Provider
Expand Down Expand Up @@ -123,6 +124,8 @@ class QgsDb2Provider : public QgsVectorDataProvider
* Returns a thread-safe connection name for use with QSqlDatabase
*/
static QString dbConnectionName( const QString &name );

static QMutex sMutex;

QgsFields mAttributeFields; //fields
QMap<int, QVariant> mDefaultValues;
Expand Down

0 comments on commit 63aa1e1

Please sign in to comment.