[snip]
"atomically" from my applications point of view means:
I have a snapshot of my data (due to InnoDB this does not change
hiddenly during
my session). I send a query to the database. I get the result / changed
data.
And everything between sending and the receiving the result I expect to
be
handled at once. I know MySQL cannot handle handle the query as one big
block
behind the doors, but I wonder why I / my application has to know about
these
internals in this case.

> UPDATE statements
> work with the JOIN order and update each table in succession.
Dependent
> on the number of rows affected you may see both tables locked
> (transactionally) but note a delay in the update of table1.

My application does not see this and that's my point.
In case of this query I have to know, that there is more than the data
before
the query and the data after the query. There is some intermediate state
that I
must be aware of.
[/snip]

Since I am not aware of your application language I can only speak to
the C style languages, including scripting languages like PHP. Any of
these will see the query as the sum of its parts, not as individual
actions. If you need to see those things you will have to write seperate
queries for each event you wish to see.

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to