Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

sqlite cant store image blobs #372

Closed
ghost opened this issue Apr 10, 2017 · 2 comments
Closed

sqlite cant store image blobs #372

ghost opened this issue Apr 10, 2017 · 2 comments

Comments

@ghost
Copy link

ghost commented Apr 10, 2017

matts sqllite driver has a bug in it in that it cant handle image blobs.

steps to reproduce:
Create a SQLite (or SQLCipher) database with a column type of integer,
then insert some non integer data in it. For example, an image. :)


You should try this instead:

https://github.com/aebruno/whisperfish/blob/master/store/store.go

https://github.com/aebruno/whisperfish/blob/master/store/store.go#L30

so its using this SQL lite driver:
https://github.com/mutecomm/go-sqlcipher

@markbates
Copy link
Member

That driver has a lot of bugs in it! I've been looking for a driver to replace it. I've replaced it with go-sqlcipher here markbates/pop@dbfc018

Hopefully that resolves a lot of issues we've had.

@ghost
Copy link
Author

ghost commented Apr 10, 2017

Wow that was quick.
I will kick the tires on it

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant