mysql...transaction question

2004-07-06 Thread bruce
hi.. i'm trying to understand if there's a difference/better reason for doing transactions using either of the following psuedo approaches... approach 1 does the commit inside the eval block, whereas approach 2 has the commit outside the eval block... i've seen sample code with transactions

Re: mysql...transaction question

2004-07-06 Thread mayuran
bruce wrote: hi.. i'm trying to understand if there's a difference/better reason for doing transactions using either of the following psuedo approaches... approach 1 does the commit inside the eval block, whereas approach 2 has the commit outside the eval block... i've seen sample code with