Skip to content

Commit

Permalink
fix spellcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
troopa81 authored and nyalldawson committed Jan 12, 2021
1 parent dd75e52 commit 5874f5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/providers/oracle/qgsoracleprovider.cpp
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -2994,7 +2994,7 @@ QgsVectorLayerExporter::ExportError QgsOracleProvider::createEmptyLayer(


const bool hasPrimaryKey = !primaryKey.isEmpty() && !primaryKeyType.isEmpty(); const bool hasPrimaryKey = !primaryKey.isEmpty() && !primaryKeyType.isEmpty();


// Oracle doesn't allow to create a table without any column, so we add a fake one // It's not possible to create a table without any column, so we add a fake one
// if needed, and will remove it later // if needed, and will remove it later
const QString fakeColumn = geometryColumn.isEmpty() && !hasPrimaryKey ? const QString fakeColumn = geometryColumn.isEmpty() && !hasPrimaryKey ?
QString( "fake_column_%1" ).arg( QUuid::createUuid().toString( QUuid::Id128 ) ) : QString(); QString( "fake_column_%1" ).arg( QUuid::createUuid().toString( QUuid::Id128 ) ) : QString();
Expand Down
2 changes: 1 addition & 1 deletion src/providers/oracle/qgsoracleprovider.h
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ class QgsOracleProvider final: public QgsVectorDataProvider
/** /**
* Insert \a geometryColumn column from table \a tableName in Oracle geometry metadata table with given \a srs coordinate * Insert \a geometryColumn column from table \a tableName in Oracle geometry metadata table with given \a srs coordinate
* reference system, using \a conn connection * reference system, using \a conn connection
* Throws OracleException if an error occured. * Throws OracleException if an error occurred.
*/ */
static void insertGeomMetadata( QgsOracleConn *conn, const QString &tableName, const QString &geometryColumn, const QgsCoordinateReferenceSystem &srs ); static void insertGeomMetadata( QgsOracleConn *conn, const QString &tableName, const QString &geometryColumn, const QgsCoordinateReferenceSystem &srs );


Expand Down

0 comments on commit 5874f5d

Please sign in to comment.