Welcome Guest, Not a member yet? Register   Sign In
Transaction and error handling
#8

[eluser]ekstro[/eluser]
InsiteFX - really thanks for your answer, but my problem is quite different. I want to handle MYSQL errors with custom model extension - more precisely: I have custom table with log where when error occurs it insert info about mysql error (and other info, about post req etc.). I don't know why CI didn't collect info that normaly is available in $this->db->_error_number and $this->db->_error_message - and give as access to it exactly like the info about the performance of such queries (in array) (in $this->db we have access to all transaction queries, execution time etc - but why we haven't mysql errors...)


Messages In This Thread
Transaction and error handling - by El Forum - 03-31-2011, 07:04 AM
Transaction and error handling - by El Forum - 03-31-2011, 07:52 AM
Transaction and error handling - by El Forum - 03-31-2011, 07:53 AM
Transaction and error handling - by El Forum - 03-31-2011, 07:56 AM
Transaction and error handling - by El Forum - 03-31-2011, 07:58 AM
Transaction and error handling - by El Forum - 03-31-2011, 08:05 AM
Transaction and error handling - by El Forum - 03-31-2011, 09:00 AM
Transaction and error handling - by El Forum - 03-31-2011, 10:16 AM
Transaction and error handling - by El Forum - 03-31-2011, 10:18 AM
Transaction and error handling - by El Forum - 03-31-2011, 10:51 AM



Theme © iAndrew 2016 - Forum software by © MyBB