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

Re[4]: Duplicate entry


> Doing a SELECT and then an INSERT without LOCK TABLE doesn't seem very
> robust to me.

I agree. (Blush)

> Why don't you simply try to INSERT and if it fails due
> to a duplicate sid generate another session ID?

Good idea. (Again: blush) Thanks.

-- 
Herzlich
Werner Stuerenburg            

_________________________________________________
ISIS Verlag, Teut 3, D-32683 Barntrup-Alverdissen
Tel 0(049) 5224-997 407 · Fax 0(049) 5224-997 409
http://pferdezeitung.de



---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <mysql-thread77916@xxxxxxxxxxxxxxx>
To unsubscribe, e-mail <mysql-unsubscribe-treed=ultraviolet.org@xxxxxxxxxxxxxxx>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php



This mailing list archive is a service of Copilot Consulting.