Skip to content

Commit a3368d4

Browse files
committedApr 26, 2019
Layout and SQL
1 parent 163082a commit a3368d4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎src/core/qgsvectorlayer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1579,7 +1579,7 @@ bool QgsVectorLayer::setDataProvider( QString const &provider, const QgsDataProv
15791579
// so it has to be set before initializing the provider,
15801580
// this manipulation is necessary to preserve default behavior when
15811581
// "trust layer metadata" project level option is set and checkPrimaryKeyUnicity
1582-
// was not explicitely passed in the uri
1582+
// was not explicitly passed in the uri
15831583
if ( provider.compare( QLatin1String( "postgres" ) ) == 0 )
15841584
{
15851585
const QString checkUnicityKey { QStringLiteral( "checkPrimaryKeyUnicity" ) };

‎tests/testdata/provider/testdata_pg.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,7 @@ INSERT INTO qgis_test.check_constraints VALUES (
543543
--
544544

545545

546-
DROP TABLE IF EXISTS qgis_test.b21839_pk_unicity CASCADE;
546+
DROP TABLE IF EXISTS qgis_test.b21839_pk_unicity;
547547
CREATE TABLE qgis_test.b21839_pk_unicity
548548
(
549549
pk serial NOT NULL,

0 commit comments

Comments
 (0)
Please sign in to comment.