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

Reset index statements after error was catched #126

Merged
merged 1 commit into from
Jan 31, 2018
Merged

Reset index statements after error was catched #126

merged 1 commit into from
Jan 31, 2018

Conversation

DarkaOnLine
Copy link
Contributor

This PR fixes PHP 7.2 sqlite3 bug then SQLSTATE[HY000]: General error: 21 bad parameter or other API misuse error message is shown.

SQL Statements must be refreshed/reset after error was handled.

This also fixes:
teamtnt/laravel-scout-tntsearch-driver#129
teamtnt/laravel-scout-tntsearch-driver#127

@nticaric
Copy link
Contributor

Thanks for fixing this!

@nticaric nticaric merged commit 4b7c36c into teamtnt:master Jan 31, 2018
@DarkaOnLine
Copy link
Contributor Author

That was fast merge 👍

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.

2 participants