Skip to content

LIMIT/OFFSET is not supported with select_for_update on this database backend. #866

Closed
@dag18e

Description

@dag18e

We are using Oracle Database 12c Enterprise Edition Release 12.2.0.1.0, which from what I researched it seems the issue is coming from this statement since 12c doesn't allow limits in select_for_update statements. We were able to fix it with:

            try:
                self = refresh_token_model.select_for_update().get(
                    pk=self.pk, revoked__isnull=True
                )
            except refresh_token_model.DoesNotExist:
                return

It would be great if we could stop maintaining the fork and just use the release version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions