koha-bugs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-bugs] [Bug 631] issues getting posted to the wrong patron when two


From: bugzilla-daemon
Subject: [Koha-bugs] [Bug 631] issues getting posted to the wrong patron when two are added simultaneously
Date: 22 Oct 2003 21:16:10 -0000

http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=631





------- Additional Comments From address@hidden  2003-10-23 10:16 -------
Yep, its a race condition problem, if two ppl are adding a borrower at the same
time, its possible for them to be both assigned the same borrowernumber,
and the second insert instead ends up updating the first.
IE the second borrower essentially overwrites the first.

I think the best fix, is to let the database create the borrowernumber by having
the borrowernumber column set to unique and auto_increment.
And then it will get the next available borrowernumber on insert.

Ill work on getting this working





------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]