Skip to content
Permalink
Browse files

Update src/providers/oracle/qgsoracleprovider.cpp

Co-authored-by: Matthias Kuhn <matthias@opengis.ch>
  • Loading branch information
rduivenvoorde and m-kuhn committed Nov 20, 2020
1 parent 5558bd5 commit ed53ea5fcab164241ad67767eaa8ece0f7dc1bb9
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/oracle/qgsoracleprovider.cpp
@@ -3093,7 +3093,7 @@ QgsVectorLayerExporter::ExportError QgsOracleProvider::createEmptyLayer(
}
}

if ( !exec( qry, QString( "INSERT INTO mdsys.user_sdo_geom_metadata(table_name,column_name,srid,diminfo) VALUES (?,?,?,%1)" ).arg( QString( diminfo ) ),
if ( !exec( qry, QStringLiteral( "INSERT INTO mdsys.user_sdo_geom_metadata(table_name,column_name,srid,diminfo) VALUES (?,?,?,%1)" ).arg( diminfo ),
QVariantList() << tableName.toUpper() << geometryColumn.toUpper() << srid ) )
{
throw OracleException( tr( "Could not insert metadata." ), qry );

0 comments on commit ed53ea5

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