-
-
Notifications
You must be signed in to change notification settings - Fork 399
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Missing error code: UNKNOWN_SQLITE_ERROR_257 #1271
Comments
Do you have a question or just wanted to share this? As you said, you tried to access the database using a different process that didn't have the necessary extension to work with the database file. |
Sorry, I did not realize that. It was not clear from your message, you should re-open the issue then as it has not been resolved. I think the error needs to be added to better-sqlite3/src/util/constants.lzz Line 116 in f01e0e4
|
Sorry for not being clear. First time doing this :D. |
I think you can close this now. In the future you can link a PR in various way to an issue so that it closes automatically when the PR is merged. See https://docs.github.com/en/issues/tracking-your-work-with-issues/using-issues/linking-a-pull-request-to-an-issue |
I'm using a SQLite extension, particularly ICU support: I loaded it in the database creation and did normal things. Then, I tried to fill up that database with a separate script and connection, running a different ts-node instance. I forgot to update this script to also load this particular extension with the required connection, so I guess that was the cause.
Also, the error code description matches my guess: https://www.sqlite.org/rescode.html#error_missing_collseq
The error stack:
And the other main script where I loaded the extension:
The text was updated successfully, but these errors were encountered: