Skip to content

MDEV-35739 ST_INTERSECTION precise self-intersection #4102

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: 10.11
Choose a base branch
from

Conversation

DaveGosselin-MariaDB
Copy link
Member

ST_INTERSECTION(geom_1, geom_1) returns geom_1 exactly.

Replaces 'goto exit;' in Item_func_spatial_operation::val_str with SCOPE_EXIT. This was done to leverage existing geometry construction calls without incurring compiler errors caused by skipping initialization on goto.

@DaveGosselin-MariaDB DaveGosselin-MariaDB self-assigned this Jun 11, 2025
@vuvova vuvova requested review from holyfoot and removed request for vuvova June 13, 2025 17:54
@DaveGosselin-MariaDB DaveGosselin-MariaDB force-pushed the 10.11-mdev-35739-linestring-intersection branch from 7cfdab5 to 69f374e Compare June 16, 2025 15:37
ST_INTERSECTION(geom_1, geom_1) returns geom_1 exactly.

Replaces 'goto exit;' in Item_func_spatial_operation::val_str with SCOPE_EXIT.
This was done to leverage existing geometry construction calls without
incurring compiler errors caused by skipping initialization on goto.
@DaveGosselin-MariaDB DaveGosselin-MariaDB force-pushed the 10.11-mdev-35739-linestring-intersection branch from 69f374e to 25dad28 Compare June 24, 2025 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

1 participant