Query inside transaction |
AFAIK, there isn't a way to exclude queries from being tracked once transactions begin.
The CI documentation shows a way to disable transactions but he example given will not work. The example shows this PHP Code: $this->db->trans_off(); Again THIS WON'T WORK. Once trans_off() is called the calls to both trans_start() and trans_complete() will immediately return FALSE and that is all. CI does not provide a method that reverses a call to trans_off(). I'm not sure it matters because I'm not sure that MySql is capable of "pausing" a transaction session once it is started. |
Messages In This Thread |
Query inside transaction - by wishmaster - 01-18-2018, 07:09 AM
RE: Query inside transaction - by dave friend - 01-18-2018, 12:50 PM
RE: Query inside transaction - by wishmaster - 01-18-2018, 01:15 PM
RE: Query inside transaction - by dave friend - 01-18-2018, 01:49 PM
RE: Query inside transaction - by wishmaster - 01-19-2018, 04:29 AM
RE: Query inside transaction - by Narf - 01-19-2018, 12:28 PM
RE: Query inside transaction - by wishmaster - 01-19-2018, 11:10 PM
RE: Query inside transaction - by dave friend - 01-20-2018, 07:34 AM
RE: Query inside transaction - by wishmaster - 01-20-2018, 12:21 PM
|