Quantcast
Channel: MySQL Forums - InnoDB
Viewing all articles
Browse latest Browse all 1957

Concurrency isolation level (no replies)

$
0
0
I have two tables A and B, I a have procedure that inserts data in table A but in order to do that I need to read some data from table B. Table A has a trigger "after insert" that update table B.

My question is, once a transaction calls the procedure to insert data in table A and during this process another transaction calls the same procedure before the first one reachs the "after insert" trigger the second one will read old data or it will wait until the "after insert" trigger be executed and so reads the updated data?

Thanks
Flavio

Viewing all articles
Browse latest Browse all 1957

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>