tags:

views:

31

answers:

1

Hi all,

For the php implementation point of view, is the multi_query an atomic instruction on the data base or all it does is executing all queries sequentially?

Thanks.

+4  A: 

It executes queries sequentially.

Mchl
Just to clarify, does it execute sequentially on php side (it splits in different queries before requesting the DB) or is it done on the DB side?Many thanks
DiogoNeves
http://dev.mysql.com/doc/refman/5.0/en/c-api-multiple-queries.html
Mchl