Skip to content

Commit

Permalink
oracle provider: fix pk where clause
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed May 2, 2013
1 parent def681c commit c3df3ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/oracle/qgsoracleprovider.cpp
Expand Up @@ -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 ";
}
}
Expand Down

0 comments on commit c3df3ba

Please sign in to comment.