3 ms·
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 s
by joemi 10y ago
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?
- jleahy 10y agoPresumably it results in an error, but if the return value isn't checked then that's fine.
- pbhjpbhj 10y agoDO 0 or SET @noop=0 or NULL; -- works in pg at least seem like good possibilities.
- CGamesPlay 10y agoBecause 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.
- CGamesPlay 10y agoBecause 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.