-
Notifications
You must be signed in to change notification settings - Fork 293
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
Runtime error with putMany
on Sqlite
#847
Comments
@naushadh I assume this would have arisen because of https://github.com/yesodweb/persistent/pull/833/files which seemed to modify |
For what it's worth, |
The grammar for Sqlite is surprising. It seems to suggest that you should be able to write |
I've made a mailing list post for this issue: https://www.mail-archive.com/sqlite-users@mailinglists.sqlite.org/msg113513.html |
The grammar doesn't tell the whole story:
(source) |
Fix #847: Use simple insert when there are no unique constraints.
@parsonsmatt A new persistent version has been released with a fix. @naushadh Thanks for the quick fix! |
Thanks 😄 |
Bug Reports
Reporting a bug? If relevant, we recommend including:
Your OS name and version: Ubuntu 18.04
The versions of tools you're using:
The versions of dependencies you're using:
resolver: lts-13.3
Finally, if possible, please reproduce the error in a small script; we have created a script for each backend with a minimal setup to use for this purpose. These are made with Stack's scripting support and can be run as
./file-name.hs
. Even better, writing a failing test case is tremendously helpful.Repro script available as a gist here
Output is:
The text was updated successfully, but these errors were encountered: