-
Notifications
You must be signed in to change notification settings - Fork 75
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
Select statement causes a "database disk image is malformed" error on web. #105
Comments
I changed the drift database implementation back to WebDatabase with IndexedDb but without webworkers. Now everything works as expected and is relatively easy to use. Thank you for the great library. |
Sorry for the slow response, I was pretty busy during the last days and didn't have a chance to take a good look at this yet. I definitely want to fix this in the wasm implementation though :D Can I reproduce this by checking a revision of your project before bradleybauer/evereactor@2d31def? Anything specific that I need to do to trigger this bug? |
No problem at all. Yeah that would work. One thing you can do to make the build easier is download Then do the following
Open the app at http://localhost:8000/. Click the "Get Market Data" button in the upper right of the app. Let the progress bar finish (downloads a bit of data from the internet). Reload the webpage and you should see the error in the console. The current working version is at evereactor.com |
Hi, I've recently switched to using the experimental WasmDatabase implementation for easy cross platform support. Everything works as expected on windows but on chrome (and firefox) I get this error after issuing a select statement.
I use this code to add approximately 160,000 rows to the table
Later I use a basic select statement which causes the error.
Here is my project for reference if needed.
The issue occurs on the latest drift and flutter master channel versions.
The text was updated successfully, but these errors were encountered: