~asselsm/kflickr/master

Viewing all changes in revision 254.

  • Committer: Mark Asselstine
  • Date: 2010-08-07 03:09:31 UTC
  • Revision ID: git-v1:a39bb09f4fc5beaeec4f1de9df6c345369647fb4
Fix sqltable ID fetching

The algorithm used to fetch the next key ID for a new
table item would return an improper ID that was already
in use thus causing all sorts of bad behaviour such as
incorrect previews. Fixed the algorithm such that it is
now returning unique IDs.

Signed-off-by: Mark Asselstine <asselsm@gmail.com>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: