in reply to Re: [OT] MySQL recalibrating a sort-index
in thread [OT] MySQL recalibrating a sort-index
(Move is even trickier because in which state are the elements in between? And what happens if an error occurs then?)
(But I think this is easy to handle, just change the parent_id in the second case)
Hope this is clearer without needing to produce examples.
My approach allows to stack multiple such operations and just to renumber at the end.
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Wikisyntax for the Monastery
|
|---|