Quantcast
Channel: Mysql transaction : commit and rollback - Stack Overflow
Browsing latest articles
Browse All 3 View Live

Answer by Peter van der Wal for Mysql transaction : commit and rollback

1) All changes you make are visible within the same transaction. If you doSTART TRANSACTION;INSERT INTO MyTable VALUES ('Hi there');SELECT * FROM MyTable;your output will include the 'Hi there'. But if...

View Article



Answer by a1ex07 for Mysql transaction : commit and rollback

Changes you made within one transaction are not visible to other transactions (except transactions with READ UNCOMMITTED isolation level) until the transaction is committed.There is a huge difference...

View Article

Mysql transaction : commit and rollback

I updated my PhpMyAdmin database engine from MyISAM to INNODB to allow rollback.This is my SQL query : START TRANSACTION;UPDATE jkm_content SET state=0 WHERE title IN ('title-1','title2');And the...

View Article
Browsing latest articles
Browse All 3 View Live




Latest Images