SET autocommit=0;
LOCK TABLES t1 WRITE, t2 READ, ...;... do something with tables t1 and t2 here ...
COMMIT;
UNLOCK TABLES;
And yes I know 5.0 is old... but I am working in 5.1 (RHE6)
Was forced to delete most of this (Body is 3662 characters too long.)
It looks like you're new here. If you want to get involved, click one of these buttons!