Skip to content

Small SQLRDD fixes and optimizations#1916

Merged
RobertvanderHulst merged 11 commits intoX-Sharp:devfrom
thomasdvbern:dev
May 4, 2026
Merged

Small SQLRDD fixes and optimizations#1916
RobertvanderHulst merged 11 commits intoX-Sharp:devfrom
thomasdvbern:dev

Conversation

@thomasdvbern
Copy link
Copy Markdown
Contributor

Fix namespace in EnumSet.prg
Fix error in Database GetInt when column is int and not decimal
Optimize: Remove DB-Roundtrip in SQLRDD.GoToId when we are already on this id
Optimize: Remove DB-Roundtrip in SQLRDD._GotoRecord. Only reload data if internal datatable is empty
Fix adding double id column name in Order By of SQL-Statement
Fix test. Remove not existing enum-value (SqlRDDEventReason.SeekReturnsSubset)

- Implement RLock, FLock and UnLock
- Check locks when GoCold()
- Refresh and cleanup locks
Fix error in Database GetInt when column is int and not decimal
Optimize: Remove DB-Roundtrip in SQLRDD.GoToId when we are already on this id
Optimize: Remove DB-Roundtrip in SQLRDD._GotoRecord. Only reload data if internal datatable is empty
Fix adding double id column name in Order By of SQL-Statement
Fix test. Remove not existing enum-value (SqlRDDEventReason.SeekReturnsSubset)
…to dev

# Conflicts:
#	src/Runtime/XSharp.RT/RDD/Db.prg
#	src/Tests/SqlRDDTests/Program.prg
@RobertvanderHulst RobertvanderHulst merged commit 07b78a7 into X-Sharp:dev May 4, 2026
1 check 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.

2 participants