Welcome Guest, Not a member yet? Register   Sign In
Transactions & Orphan MySQL connections
#16

[eluser]Unknown[/eluser]
hy!
I turned the pconnect off. It works, when for example:
$this->db->trans_start();
delete_customer($id);
non_exist_function(); // fatal error
$this->db->trans_complete();

The querys in the delete_customer will be rollback. Ok.
But, when a php notice is throwed, for example:
Notice: Trying to get property of non-object....
anywhere in the delete_customer function, the rollback will not happen... any idea?
Thanks.


Messages In This Thread
Transactions & Orphan MySQL connections - by El Forum - 01-08-2008, 09:01 AM
Transactions & Orphan MySQL connections - by El Forum - 01-08-2008, 09:32 AM
Transactions & Orphan MySQL connections - by El Forum - 01-08-2008, 11:26 AM
Transactions & Orphan MySQL connections - by El Forum - 01-08-2008, 11:51 AM
Transactions & Orphan MySQL connections - by El Forum - 01-08-2008, 04:21 PM
Transactions & Orphan MySQL connections - by El Forum - 01-08-2008, 04:28 PM
Transactions & Orphan MySQL connections - by El Forum - 01-08-2008, 08:13 PM
Transactions & Orphan MySQL connections - by El Forum - 01-09-2008, 11:22 AM
Transactions & Orphan MySQL connections - by El Forum - 01-10-2008, 08:45 AM
Transactions & Orphan MySQL connections - by El Forum - 01-10-2008, 12:09 PM
Transactions & Orphan MySQL connections - by El Forum - 01-16-2008, 04:25 PM
Transactions & Orphan MySQL connections - by El Forum - 02-02-2008, 01:55 PM
Transactions & Orphan MySQL connections - by El Forum - 02-02-2008, 02:18 PM
Transactions & Orphan MySQL connections - by El Forum - 06-04-2009, 02:03 PM
Transactions & Orphan MySQL connections - by El Forum - 06-04-2009, 02:18 PM
Transactions & Orphan MySQL connections - by El Forum - 09-17-2009, 08:52 AM



Theme © iAndrew 2016 - Forum software by © MyBB