-
-
Notifications
You must be signed in to change notification settings - Fork 219
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
Fix dbrestore of sqlite database to like newlines #258
Conversation
Hi @rgaiacs |
Hi @ZuluPro, could you help me with the unit test? I'm not sure if |
Hello @rgaiacs
Thank you very much ! |
Hello @rgaiacs |
Still trying to write the tests. Unit tests isn't my strongest skill. :-( |
@ZuluPro I try to do as instructed but I'm receiving
|
@rgaiacs |
On Textfields that have line breaks, sqlite reports "unrecognized token" because it doesn't keep the previous line in memory to be ammended by the current line. This pull requests implements a very simple logic to only send SQL INSERT commands when the line finished with ");". Close jazzband#238
I didn't. I executed |
@rgaiacs |
@rgaiacs Any news ? |
Hi ! |
I agree, this PR is quite old so it's likely the project has moved quite a bit forward. It just seemed a shame as, at least from the comments, it sounds like it was somewhat close to being done in 2017. If people happen to come across this issue, this was my solution for SQLite in the end: To dump the db & encrypt it:
To restore:
|
it's crazy that this package doesn't even work with SQLite😢 |
Hey @demonhunter3333 I took over this project not too long ago. I'm aware of several issues with the current design, and am proposing an overhaul to fix them. See the following for more info: |
Closing in favor of |
Related to #238.
On Textfields that have line breaks, sqlite reports "unrecognized token"
because it doesn't keep the previous line in memory to be ammended by
the current line.
This pull requests implements a very simple logic to only send SQL
INSERT commands when the line finished with ");".
Closes #254