I use:
SELECT ROW_COUNT()
in some MySQL procedure and I'm wondering what if my database will have many connections and the same procedure will be call dozens of times of the same time? Is it possible to ROW_COUNT() returns me number of insterted rows that was actually insterted in another procedure that is run at the same time?
So, does ROW_COUNT() returns the number of last affected rows for whole database or the current connection?