Welcome Guest, Not a member yet? Register   Sign In
Problem with transactions?
#1

[eluser]Mel [RS][/eluser]
Hi:
I'm developing a project and I've a problem with the transactionability of CI. I'll try to explaint it:

Code:
trans_start();

$id = query_1();

query_2($id);
query_3($id);
query_4($id);
query_5($id);
query_6($id);

trans_end();

My problem is, 'case I've to many users making that work and, the $id var is the same to some users while the transaction is not ended.

So, can you give me some orientation about how to make this? or implements some nested transactionability (I've searched in forums with bad luck).

Thanks in advance.


Messages In This Thread
Problem with transactions? - by El Forum - 03-11-2009, 08:42 AM
Problem with transactions? - by El Forum - 03-11-2009, 09:01 AM
Problem with transactions? - by El Forum - 03-11-2009, 09:28 AM
Problem with transactions? - by El Forum - 03-11-2009, 10:11 AM
Problem with transactions? - by El Forum - 03-11-2009, 11:16 AM



Theme © iAndrew 2016 - Forum software by © MyBB