Follow

Tip: I haven't finished minimizing the reproducer yet but, if you're using rusqlite concurrently through something like `Arc<Mutex<Connection>>` and you're getting `Foreign key constraint failed` errors that go away if you force only one thread, check if you're using `INSERT OR ...` on a table referenced by a foreign key. There's some kind of bug and manually reimplementing `OR IGNORE` client-side by `SELECT`ing first worked around it for me.

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.