Thread doppel-INSERT vermeiden durch locking
(24 answers)
Opened by Froschpopo at 2005-11-06 21:51
[quote=Taulmarill,22.12.2005, 13:50]warum hat dann hier noch niemand transaktionen vorgeschlagen.[/quote]
ähm... [quote=pq,06.11.2005, 22:49]dann brauchst du eine transaktion. dann kriegt das select erst ein ergebnis, wenn der erste INSERT durch ist.[/quote] Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. -- Damian Conway in "Perl Best Practices"
lesen: ![]() ![]() |