Re:Spotify excessively writing to drive
by ihuman on Wednesday November 09, 2016 @03:44PM
(#12914446)
6 or 7 x's? In your example, you used 6.
[ Parent
| on HN ]
6, it wont start otherwise. I left the ; in.
Re:Spotify excessively writing to drive
by philipkglass on Wednesday November 09, 2016 @03:50PM
(#12914490)
Hmm, I used 7 and my patched client is running fine. Maybe it's enough to garble VACUUM so it doesn't do anything valid.
If you replaced the ; also, you also didn't change the total length of the strings, I think that's what the problem is.
Re:Spotify excessively writing to drive
by philipkglass on Wednesday November 09, 2016 @03:47PM
(#12914468)
7 x's, one to overwrite all of VACUUM; including the terminating semicolon.
I didn't count the x's in the quoted text that I copied from the thread.
If you overwrite the ; is there not a risk you might cause the next legitimate sqlite operation to fail?
Re:Spotify excessively writing to drive
by SturgeonsLaw on Thursday November 10, 2016 @05:41AM
(#12919286)
They might get lucky and overwrite the last SQL statement in the method. Seems likely with a statement like VACUUM.