Skip to content
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

XWIKI-21922: Introduce methods to fetch a subset of revisions in XWikiVersioningStoreInterface #2993

Merged
merged 2 commits into from
Mar 15, 2024

Conversation

pjeanjean
Copy link
Contributor

@pjeanjean pjeanjean commented Mar 15, 2024

Jira URL

https://jira.xwiki.org/browse/XWIKI-21922

Changes

Description

  • Fix date filtering for MySQL, MariaDB, PostgreSQL and Oracle.

Clarifications

The previous implementation of date filtering relied on timestamps stored as doubles, which can be too large for most of the DB backends we target. The queries now enforce timestamps smaller than 2038 which is the maximum supported in these databases.

Screenshots & Video

N/A

Executed Tests

N/A

Expected merging strategy

  • Prefers squash: Yes
  • Backport on branches:
    • stable-15.10.x

…iVersioningStoreInterface

* Fix date filtering for MySQL, MariaDB, PostgreSQL and Oracle
…iVersioningStoreInterface

* Improve comments
@tmortagne tmortagne merged commit 965166b into xwiki:master Mar 15, 2024
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.

4 participants