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

CRON Job MySQL Error #8

Open
neotsn opened this issue Jan 10, 2015 · 2 comments
Open

CRON Job MySQL Error #8

neotsn opened this issue Jan 10, 2015 · 2 comments
Assignees
Labels

Comments

@neotsn
Copy link
Owner

neotsn commented Jan 10, 2015

SQLSTATE[HY000]: General error: 1615 Prepared statement needs to be re-prepared
SELECT DISTINCT c.office_id FROM cron_office_check c, users_offices uo WHERE last_check<=? AND c.office_id=uo.office_id

SQLSTATE[HY000]: General error: 1615 Prepared statement needs to be re-prepared
SELECT o.office_id, o.hash, s.statement_hash FROM ( SELECT o.id FROM outlooks o ORDER BY o.id DESC ) i LEFT JOIN outlooks o ON o.id = i.id LEFT JOIN statements s ON o.office_id = s.office_id LEFT JOIN users_offices uo ON uo.office_id = o.office_id LEFT JOIN cron_office_check c ON c.office_id = o.office_id WHERE c.last_check <=? GROUP BY s.statement_hash

@neotsn neotsn self-assigned this Jan 10, 2015
@neotsn neotsn added bug wontfix and removed bug labels Jan 10, 2015
@neotsn
Copy link
Owner Author

neotsn commented Jan 10, 2015

Seems to be a random issue, not a bug. There's nothing to fix with the code.

@neotsn neotsn closed this as completed Jan 10, 2015
@neotsn
Copy link
Owner Author

neotsn commented Jan 19, 2015

Still happening...

SQLSTATE[HY000]: General error: 1615 Prepared statement needs to be re-prepared
SELECT DISTINCT c.office_id FROM cron_office_check c, users_offices uo WHERE last_check<=? AND c.office_id=uo.office_id

SQLSTATE[HY000]: General error: 1615 Prepared statement needs to be re-prepared
SELECT o.office_id, o.hash, s.statement_hash FROM ( SELECT o.id FROM outlooks o ORDER BY o.id DESC ) i LEFT JOIN outlooks o ON o.id = i.id LEFT JOIN statements s ON o.office_id = s.office_id LEFT JOIN users_offices uo ON uo.office_id = o.office_id LEFT JOIN cron_office_check c ON c.office_id = o.office_id WHERE c.last_check <=? GROUP BY s.statement_hash

@neotsn neotsn reopened this Jan 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant