Skip to content
Permalink
Browse files

oracle provider: fix pk where clause

  • Loading branch information
jef-n committed May 2, 2013
1 parent def681c commit c3df3ba7b7edf30a9ec1aff3e6c9452dd8db72e6
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/oracle/qgsoracleprovider.cpp
@@ -337,7 +337,7 @@ QString QgsOracleProvider::pkParamWhereClause() const
int idx = mPrimaryKeyAttrs[i];
const QgsField &fld = field( idx );

whereClause += delim + QString( "%3%1=?" ).arg( mConnection->fieldExpression( fld ) );
whereClause += delim + QString( "%1=?" ).arg( mConnection->fieldExpression( fld ) );
delim = " AND ";
}
}

0 comments on commit c3df3ba

Please sign in to comment.
You can’t perform that action at this time.