SHARE
TWEET

Untitled

a guest Dec 24th, 2012 28 Never
  1. CDbCommand failed to execute the SQL statement: SQLSTATE[25P02]: In failed sql transaction: ERROR: current transaction is aborted, commands ignored until end of transaction block
  2.        
  3. BEGIN; -- transaction starts here
  4.  
  5. -- do things if you want
  6.  
  7. SAVEPOINT my_savepoint;
  8.  
  9. -- failing statement here
  10. -- all other statements are ignored
  11.  
  12. ROLLBACK TO SAVEPOINT my_savepoint;
  13.  
  14. -- continue your transaction starting from my_savepoint
  15.  
  16. COMMIT;
RAW Paste Data
Top