I\'m wondering if a MySQL transaction initiated from PHP will lock a table so that I can generate my own random values that can be written to a column that has a unique constrai