Skip to content

Commit e30c513

Browse files
authored
more debugging
1 parent e2e235a commit e30c513

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/mapogr.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1337,7 +1337,7 @@ static msOGRFileInfo *msOGRFileOpen(layerObj *layer, const char *connection)
13371337
} else if (strcmp(name, "Parquet") == 0) {
13381338
psInfo->dialect = "Parquet";
13391339
if (layer->debug >= MS_DEBUGLEVEL_DEBUG)
1340-
msDebug("msOGRFileInfo: Yes its parquet");
1340+
msDebug("msOGRFileInfo: Yes its parquet\n");
13411341

13421342
// todo: Parquet not yet tested
13431343

@@ -2263,6 +2263,8 @@ static int msOGRFileWhichShapes(layerObj *layer, rectObj rect,
22632263
}
22642264

22652265
// use spatial index
2266+
if (layer->debug >= MS_DEBUGLEVEL_DEBUG)
2267+
msDebug("msOGRFileWhichShapes: The dialect is %s\n", psInfo->dialect);
22662268
if (psInfo->dialect && bIsValidRect) {
22672269
if ((EQUAL(psInfo->dialect, "PostgreSQL"))||
22682270
(EQUAL(psInfo->dialect, "Parquet"))){
@@ -2282,7 +2284,7 @@ static int msOGRFileWhichShapes(layerObj *layer, rectObj rect,
22822284
msFree(points);
22832285
filter = msStringConcatenate(filter, "))");
22842286
if (layer->debug >= MS_DEBUGLEVEL_DEBUG)
2285-
msDebug("msOGRFileWhichShapes: Applying Filter for Parquet");
2287+
msDebug("msOGRFileWhichShapes: Applying Filter for Parquet\n");
22862288
} else if (psInfo->dialect &&
22872289
(EQUAL(psInfo->dialect, "Spatialite") ||
22882290
EQUAL(psInfo->dialect, "GPKG")) &&

0 commit comments

Comments
 (0)