Skip to content
Permalink
Browse files

Layout and SQL

  • Loading branch information
elpaso committed Apr 26, 2019
1 parent 163082a commit a3368d416c46dccb5197754c03924cbd93c201a2
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/core/qgsvectorlayer.cpp
  2. +1 −1 tests/testdata/provider/testdata_pg.sql
@@ -1579,7 +1579,7 @@ bool QgsVectorLayer::setDataProvider( QString const &provider, const QgsDataProv
// so it has to be set before initializing the provider,
// this manipulation is necessary to preserve default behavior when
// "trust layer metadata" project level option is set and checkPrimaryKeyUnicity
// was not explicitely passed in the uri
// was not explicitly passed in the uri
if ( provider.compare( QLatin1String( "postgres" ) ) == 0 )
{
const QString checkUnicityKey { QStringLiteral( "checkPrimaryKeyUnicity" ) };
@@ -543,7 +543,7 @@ INSERT INTO qgis_test.check_constraints VALUES (
--


DROP TABLE IF EXISTS qgis_test.b21839_pk_unicity CASCADE;
DROP TABLE IF EXISTS qgis_test.b21839_pk_unicity;
CREATE TABLE qgis_test.b21839_pk_unicity
(
pk serial NOT NULL,

0 comments on commit a3368d4

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