Skip to content

Revert MSSQL iteminfo caching#7520

Merged
geographika merged 1 commit into
MapServer:mainfrom
geographika:mssql-cache-revert
Jun 5, 2026
Merged

Revert MSSQL iteminfo caching#7520
geographika merged 1 commit into
MapServer:mainfrom
geographika:mssql-cache-revert

Conversation

@geographika
Copy link
Copy Markdown
Member

Reverts the layerinfo caching added to the MSSQL plugin added in #7439. There were issues in production where the item info was lost, and all types treated as strings. Reverting unless I can find a better way to test this. Performance difference is negligible (the main benefit of the caching was to reduce multiple SELECT 0.. calls to get column types.

The other part of the original PR (avoiding convert(nvarchar(max)) remains as this works fine, and greatly reduces memory use on the database server.

@geographika geographika merged commit ffa1014 into MapServer:main Jun 5, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant