more useful options | |
PerlMonks |
Re^2: Getting first unused integer from a sqlite integer columnby mhearse (Chaplain) |
on Oct 21, 2010 at 19:32 UTC ( [id://866627]=note: print w/replies, xml ) | Need Help?? |
I agree about the race condition. I like the idea of using an autoincrement for the externalPort. Now I just need to figure out if I can set min and max bounds
Wait a minute... wouldn't redefining the table, making externalPort autoincrement, then creating a dummy record with externalPort = 1023 work? I'll give it a try.
In Section
Seekers of Perl Wisdom
|
|