[Koha-bugs] [Bug 18242] New: Remove primary key on old_issues.issue_id
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Mar 9 19:52:20 CET 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18242
Bug ID: 18242
Summary: Remove primary key on old_issues.issue_id
Change sponsored?: ---
Product: Koha
Version: unspecified
Hardware: All
OS: All
Status: ASSIGNED
Severity: critical
Priority: P5 - low
Component: Architecture, internals, and plumbing
Assignee: jonathan.druart at bugs.koha-community.org
Reporter: jonathan.druart at bugs.koha-community.org
QA Contact: testopia at bugs.koha-community.org
The table old_issues has a primary key defined on the issue_id column.
This issue_id comes from the issues table when an item is checked in.
In some case the value of issue_id already exists in the table
Basically this happens when an item is returned and mysqld is restarted: The
auto increment value for issues.issue_id will be reset to MAX(issue_id)+1
(which is the value of the last entry of old_issues). See also the description
of bug 18003 for more informations.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list