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

Typo on PdoSessionHandler #2

Open
eduluz1976 opened this issue Nov 7, 2019 · 0 comments
Open

Typo on PdoSessionHandler #2

eduluz1976 opened this issue Nov 7, 2019 · 0 comments

Comments

@eduluz1976
Copy link

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'.

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

No branches or pull requests

1 participant