Skip to content

Sqlite3 uninitialized object as error #6113

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

Closed
wants to merge 3 commits into from

Conversation

Girgias
Copy link
Member

@Girgias Girgias commented Sep 11, 2020

@cmb69 (as IIRC you are the maintainer) and @nikic (should I change the wording?)

@cmb69
Copy link
Member

cmb69 commented Sep 11, 2020

What is our general stance regarding extensions which allow to choose an exception/error mode (SQLite3::enableExceptions() in this case)?

@nikic
Copy link
Member

nikic commented Sep 11, 2020

@cmb69 Always throw for this case.

--EXPECTF--
Warning: SQLite3Stmt::reset(): The SQLite3 object has not been correctly initialised in %s
--EXPECT--
The SQLite3 object has not been correctly initialised
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This message doesn't match the test well. I would at least add or already closed to it.

@Girgias Girgias force-pushed the sqlite3-uninitialized-error branch from 0cf1923 to 1d7b0f3 Compare September 12, 2020 02:14
@php-pulls php-pulls closed this in 67d21bf Sep 12, 2020
@Girgias Girgias deleted the sqlite3-uninitialized-error branch September 12, 2020 20:37
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.

3 participants