Skip to content

Commit

Permalink
typo fixes [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed Jan 3, 2025
1 parent 3fc05d4 commit 37b86e7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion autotest/ogr/ogr_gml.py
Original file line number Diff line number Diff line change
Expand Up @@ -4803,7 +4803,7 @@ def test_ogr_gml_force_opening(tmp_vsimem):
[],
"Field xxxx not found in layer test_point",
),
# Test with type wich is not recognized
# Test with type which is not recognized
(
[
r'OGR_SCHEMA={"layers": [{"name": "test_point", "fields": [{ "name": "str", "type": "xxxx" }, {"name": "dbl", "type": "String" }]}]}'
Expand Down
4 changes: 2 additions & 2 deletions ogr/ogrsf_frmts/adbc/ogradbclayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -339,8 +339,8 @@ void OGRADBCLayer::BuildLayerDefn(bool bInternalUse)
CPLJSONDocument oDoc;
if (!osGeoParquetMD.empty() && oDoc.LoadMemory(osGeoParquetMD))
{
const auto oColums = oDoc.GetRoot().GetObj("columns");
for (const auto &oColumn : oColums.GetChildren())
const auto oColumns = oDoc.GetRoot().GetObj("columns");
for (const auto &oColumn : oColumns.GetChildren())
{
if (oColumn.GetString("encoding") == "WKB")
{
Expand Down
2 changes: 1 addition & 1 deletion ogr/ogrsf_frmts/gml/ogr_gml.h
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ class OGRGMLDataSource final : public GDALDataset
return bIsOutputGML32;
}

/** Returns whether a writing error has occured */
/** Returns whether a writing error has occurred */
inline bool HasWriteError() const
{
return m_bWriteError;
Expand Down

0 comments on commit 37b86e7

Please sign in to comment.