diff --git a/.github/patches/extensions/spatial/random_test_fix.patch b/.github/patches/extensions/spatial/random_test_fix.patch index 19ed486b336a..36351bce70f8 100644 --- a/.github/patches/extensions/spatial/random_test_fix.patch +++ b/.github/patches/extensions/spatial/random_test_fix.patch @@ -56,10 +56,10 @@ index 465cb87..5aa49dd 100644 ExtensionUtil::RegisterFunction(db, read); diff --git a/spatial/src/spatial/gdal/functions/st_read.cpp b/spatial/src/spatial/gdal/functions/st_read.cpp -index 177548c..42d2df7 100644 +index b730baa..8d08898 100644 --- a/spatial/src/spatial/gdal/functions/st_read.cpp +++ b/spatial/src/spatial/gdal/functions/st_read.cpp -@@ -675,7 +675,7 @@ void GdalTableFunction::Register(DatabaseInstance &db) { +@@ -676,7 +676,7 @@ void GdalTableFunction::Register(DatabaseInstance &db) { GdalTableFunction::InitGlobal, GdalTableFunction::InitLocal); scan.cardinality = GdalTableFunction::Cardinality; @@ -68,3 +68,25 @@ index 177548c..42d2df7 100644 scan.projection_pushdown = true; scan.filter_pushdown = true; +diff --git a/spatial/src/spatial/geos/functions/aggregate.cpp b/spatial/src/spatial/geos/functions/aggregate.cpp +index aacc668..c478786 100644 +--- a/spatial/src/spatial/geos/functions/aggregate.cpp ++++ b/spatial/src/spatial/geos/functions/aggregate.cpp +@@ -197,7 +197,7 @@ void GeosAggregateFunctions::Register(DatabaseInstance &db) { + + AggregateFunctionSet st_intersection_agg("ST_Intersection_Agg"); + st_intersection_agg.AddFunction( +- AggregateFunction::UnaryAggregateDestructor( ++ AggregateFunction::UnaryAggregateDestructor( + core::GeoTypes::GEOMETRY(), core::GeoTypes::GEOMETRY())); + + ExtensionUtil::RegisterFunction(db, st_intersection_agg); +@@ -206,7 +206,7 @@ void GeosAggregateFunctions::Register(DatabaseInstance &db) { + + AggregateFunctionSet st_union_agg("ST_Union_Agg"); + st_union_agg.AddFunction( +- AggregateFunction::UnaryAggregateDestructor( ++ AggregateFunction::UnaryAggregateDestructor( + core::GeoTypes::GEOMETRY(), core::GeoTypes::GEOMETRY())); + + ExtensionUtil::RegisterFunction(db, st_union_agg);