From 702a0c5f0d3e8b13c5fd4e34b290b75665fe66ed Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Fri, 29 Dec 2023 13:33:47 +0100 Subject: [PATCH] autotest/ogr/ogr_feature.py: fix dialect names --- autotest/ogr/ogr_feature.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autotest/ogr/ogr_feature.py b/autotest/ogr/ogr_feature.py index 3ea9c206d6b0..8aa7493468ea 100755 --- a/autotest/ogr/ogr_feature.py +++ b/autotest/ogr/ogr_feature.py @@ -704,9 +704,9 @@ def test_ogr_feature_native_data(): lyr.CreateFeature(f) f = None - dialects = ["OGR_SQL"] + dialects = ["OGRSQL"] if gdal.GetDriverByName("SQLITE") is not None: - dialects += ["OGR_SQLITE"] + dialects += ["SQLITE"] for dialect in dialects: sql_lyr = ds.ExecuteSQL("SELECT * FROM %s" % lyr.GetName(), dialect=dialect) native_data = sql_lyr.GetMetadataItem("NATIVE_DATA", "NATIVE_DATA")