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

dep: update vendored sqlite3 to 3.46.0 #536

Merged
merged 1 commit into from
May 23, 2024

Conversation

flavorjones
Copy link
Member

flavorjones added a commit to flavorjones/rails that referenced this pull request May 23, 2024
Upstream sqlite updated the error messages to be more descriptive
starting in v3.46.0. Where the error message might look like this in
earlier versions:

    no such column: non_existent

in 3.46.0 it looks like:

    no such column: "non_existent" - should this be a string literal in single-quotes?

The tests have been updated to accept either style of message.

The sqlite3-ruby gem will release a version with this vendored version
shortly, see sparklemotion/sqlite3-ruby#536
@flavorjones
Copy link
Member Author

The failing downstream test is because activerecord's tests are overly-specific about the expected error messages. Addressed in rails/rails#51891

@flavorjones
Copy link
Member Author

downstream test is green after the rails PR was merged: https://github.com/sparklemotion/sqlite3-ruby/actions/runs/9210959257/job/25341559773

@flavorjones flavorjones merged commit c80fb27 into main May 23, 2024
130 checks passed
@flavorjones flavorjones deleted the flavorjones-dep-sqlite-3.46.0 branch May 23, 2024 16:37
xjunior pushed a commit to xjunior/rails that referenced this pull request Jun 9, 2024
Upstream sqlite updated the error messages to be more descriptive
starting in v3.46.0. Where the error message might look like this in
earlier versions:

    no such column: non_existent

in 3.46.0 it looks like:

    no such column: "non_existent" - should this be a string literal in single-quotes?

The tests have been updated to accept either style of message.

The sqlite3-ruby gem will release a version with this vendored version
shortly, see sparklemotion/sqlite3-ruby#536
jianbo pushed a commit to jianbo/fix-association-initialize-order that referenced this pull request Jul 8, 2024
Upstream sqlite updated the error messages to be more descriptive
starting in v3.46.0. Where the error message might look like this in
earlier versions:

    no such column: non_existent

in 3.46.0 it looks like:

    no such column: "non_existent" - should this be a string literal in single-quotes?

The tests have been updated to accept either style of message.

The sqlite3-ruby gem will release a version with this vendored version
shortly, see sparklemotion/sqlite3-ruby#536
DanielaVelasquez pushed a commit to DanielaVelasquez/rails that referenced this pull request Oct 3, 2024
Upstream sqlite updated the error messages to be more descriptive
starting in v3.46.0. Where the error message might look like this in
earlier versions:

    no such column: non_existent

in 3.46.0 it looks like:

    no such column: "non_existent" - should this be a string literal in single-quotes?

The tests have been updated to accept either style of message.

The sqlite3-ruby gem will release a version with this vendored version
shortly, see sparklemotion/sqlite3-ruby#536
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.

1 participant