Welcome Guest, Not a member yet? Register   Sign In
Error Handling for Database Transactions
#1

[eluser]JGarrido[/eluser]
I'm attempting to do some error handling for failed database transactions, but I'm not getting any error returned from CI.$this->db->_error_number() and $this->db->_error_message() will give me what I'm looking for, but only if the insert I'm attempting to perform isn't wrapped in a transaction.

Is this a bug (or an omission, as I realize those 2 properties aren't even documented), or is there something I'm overlooking?


Messages In This Thread
Error Handling for Database Transactions - by El Forum - 05-27-2010, 07:46 PM
Error Handling for Database Transactions - by El Forum - 05-27-2010, 08:00 PM
Error Handling for Database Transactions - by El Forum - 05-31-2010, 09:47 AM
Error Handling for Database Transactions - by El Forum - 06-01-2010, 03:16 AM
Error Handling for Database Transactions - by El Forum - 06-05-2010, 01:01 PM



Theme © iAndrew 2016 - Forum software by © MyBB