Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Even Rouault <[email protected]>
  • Loading branch information
elpaso and rouault authored Dec 22, 2022
1 parent c0c77cf commit 7f87b3b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gcore/gdaldataset.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9012,7 +9012,7 @@ bool GDALDatasetUpdateRelationship(GDALDatasetH hDS,
* @param pfnQueryLoggerFunc Callback function
* @param poQueryLoggerArg Opaque client status data
* @return true in case of success.
* @since GDAL 3.8
* @since GDAL 3.7
*/
bool GDALDatasetSetQueryLoggerFunc(GDALDatasetH hDS, GDALQueryLoggerFunc pfnQueryLoggerFunc , void* poQueryLoggerArg)
{
Expand Down
8 changes: 8 additions & 0 deletions ogr/ogrsf_frmts/sqlite/ogrsqlitedatasource.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -616,6 +616,10 @@ void OGRSQLiteBaseDataSource::LoadRelationshipsFromForeignKeys() const
#endif
}

/***********************************************************************/
/* prepareSql() */
/***********************************************************************/

int OGRSQLiteBaseDataSource::prepareSql(sqlite3*db, const char*zSql, int nByte, sqlite3_stmt**ppStmt, const char**pzTail)
{
const int rc { sqlite3_prepare_v2( db, zSql, nByte, ppStmt, pzTail ) };
Expand Down Expand Up @@ -4329,6 +4333,10 @@ void OGRSQLiteBaseDataSource::SetEnvelopeForSQL(const CPLString& osSQL,
oMapSQLEnvelope[osSQL] = oEnvelope;
}

/***********************************************************************/
/* SetQueryLoggerFunc() */
/***********************************************************************/

bool OGRSQLiteBaseDataSource::SetQueryLoggerFunc(GDALQueryLoggerFunc pfnQueryLoggerFuncIn, void*poQueryLoggerArgIn)
{

Expand Down

0 comments on commit 7f87b3b

Please sign in to comment.