Skip to content

Conversation

@atdrendel
Copy link
Contributor

No description provided.

@atdrendel atdrendel requested a review from Copilot April 15, 2025 13:18
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

Comments suppressed due to low confidence (2)

Tests/SQLiteTests/SQLiteDatabaseTests.swift:159

  • Ensure that interpolating the collation name into the SQL query produces valid SQL syntax. If the collation name requires quoting or a different literal format, adjust the query accordingly.
.read("SELECT * FROM test ORDER BY string COLLATE \(grdbName);")

Sources/SQLite/SQLiteDatabase.swift:761

  • [nitpick] Consider adding tests to verify that all provided custom collation sequences are correctly registered and function as expected during database initialization.
if !collationSequences.isEmpty {

@atdrendel atdrendel merged commit e451ca1 into main Apr 15, 2025
1 check passed
@atdrendel atdrendel deleted the fix-custom-collation-sequences branch April 15, 2025 13:19
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