Skip to content

Typo on PdoSessionHandler #2

Description

@eduluz1976

I observed that sometimes my DB has displayed errors like:

2019-10-30 14:32:20.701 UTC 10.162.0.17(44298)ERROR: syntax error at or near "WHERE" at character 14 2019-10-30 14:32:20.701 UTC 10.162.0.17(44298)STATEMENT: DELETE FROM WHERE last_activity <= 1572444500

The "DELETE FROM

", where
comes empty.
Looking at the code, I observed that on 'gc' and 'destroy' methods have a typo. Instead use '$this->tablename', is '$this->table'.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions