Advertisement
Guest User

Untitled

a guest
Dec 24th, 2012
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  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;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement