Skip to content

Commit d0159e2

Browse files
committed
postgres provider: restore default for cursor counter
1 parent 72015bf commit d0159e2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/gui/qgsfieldexpressionwidget.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ void QgsFieldExpressionWidget::expressionEdited( const QString expression )
190190

191191
void QgsFieldExpressionWidget::expressionEditingFinished()
192192
{
193-
QgsDebugMsg( "Editing finsihed" );
193+
QgsDebugMsg( "Editing finished" );
194194
const QString expression = mCombo->lineEdit()->text();
195195
mFieldProxyModel->sourceFieldModel()->setExpression( expression );
196196
QModelIndex idx = mFieldProxyModel->sourceFieldModel()->indexFromName( expression );

src/providers/postgres/qgspostgresconn.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ QgsPostgresConn::QgsPostgresConn( QString conninfo, bool readOnly, bool shared,
187187
, mUseWkbHex( false )
188188
, mReadOnly( readOnly )
189189
, mSwapEndian( false )
190+
, mNextCursorId( 0 )
190191
, mShared( shared )
191192
, mTransaction( transaction )
192193
{

0 commit comments

Comments
 (0)