summaryrefslogtreecommitdiff
path: root/sql/spatial.cc
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2022-12-13 14:39:18 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2022-12-13 14:39:18 +0200
commit1dc2f35598193fc52b79061c286b61f01c617374 (patch)
tree30e3972564ec174de0432e429f5f0897bf0b41a7 /sql/spatial.cc
parentda5d3499353036d39c3a4bcd1f0466f7de3fc263 (diff)
parentfdf43b5c78c4aeb26efdbef3172746e007ab6f1d (diff)
downloadmariadb-git-1dc2f35598193fc52b79061c286b61f01c617374.tar.gz
Merge 10.4 into 10.5
Diffstat (limited to 'sql/spatial.cc')
-rw-r--r--sql/spatial.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/spatial.cc b/sql/spatial.cc
index 957d6c19338..ab6baf500e6 100644
--- a/sql/spatial.cc
+++ b/sql/spatial.cc
@@ -637,7 +637,8 @@ Geometry *Geometry::create_from_json(Geometry_buffer *buffer,
if (feature_type_found)
goto handle_geometry_key;
}
- goto err_return;
+ else
+ goto err_return;
}
else
{