Skip to content
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 bug that caused existing pastes to be overwritten after restart #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jonjensen
Copy link

The existing paste IDs were being sorted as strings, not numbers,
so the "highest" one was often not really the highest one, and the
when the next assigned ID already existed, that paste was silently
overwritten.

The existing paste IDs were being sorted as strings, not numbers,
so the "highest" one was often not really the highest one, and the
when the next assigned ID already existed, that paste was silently
overwritten.
@ezekiel
Copy link

ezekiel commented Mar 7, 2017

@rcaputo this simple patch looks like it fixes an important bug. Any feedback, or willing to merge?

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

Successfully merging this pull request may close these issues.

2 participants