[Koha-bugs] [Bug 18651] Move of checkouts is still not correctly handled
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue May 23 15:44:45 CEST 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18651
Kyle M Hall <kyle at bywatersolutions.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kyle at bywatersolutions.com
--- Comment #12 from Kyle M Hall <kyle at bywatersolutions.com> ---
No, but if the last return is the last issue, then max issue_id in old_issues
will be higher than the max id in issues. Thus, the current auto_increment
issue_id will match an existing old_issues issue_id and thus everything blows
up.
Barton is proposing that on startup, we set the auto_increment for
issues.issue_id to GREATEST( MAX(issues.issue_id), MAX(old_issues.issue_id) ) +
1
> old_issues should not be auto_increment there is one id sequence and that
> comes from issues. If you try and maintain 2 sequences you have a race
> condition
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list