good_evening
good_evening

Reputation: 21749

Is it possible that one of the mysql queries would interrupt?

I really didn't know how to call the topic, but I will try to explain it here. So, for example, I have 6 queries in one page. Is it possible, that first five of them would be completed and the last one wouldn't be? Is there any possibilities? If there is, what should I do? Hope you understood smth. Thanks.

Upvotes: 0

Views: 59

Answers (1)

Daniel Vassallo
Daniel Vassallo

Reputation: 344371

Yes there is a possibility, for various reasons. However this should be the exception and not the rule.

The side-effects of such a situation are often mitigated by using atomic operations and transactions.

Upvotes: 1

Related Questions