Re:Spotify excessively writing to drive
by joemi on Wednesday November 09, 2016 @06:07PM
(#12915759)
Does anyone know why "xxxxxx;"? Seems like that would make an invalid call, so wouldn't it make more sense to replace it with some sort of no-op? Or is xxxxxx sql's way of doing a no-op?
[ Parent
| on HN ]
Re:Spotify excessively writing to drive
by CGamesPlay on Wednesday November 09, 2016 @08:27PM
(#12916830)
Because that breaks the statement, Spotify doesn't care if this particular statement succeeds or fails, and because it has the same length as "VACUUM;". Since this is being modified in a binary, you can't change the length of the string, or else you'll overwrite some other part of the data.