Re: FOR UPDATE combined in a single query
Re-read the PHP manual page for mysql_query():
if (mysql_query($query)) {
$record = mysql_fetch_array($query);
... is wrong. Fetch funcs require the result resource returned by mysql_query().
I do not understand "Can one read total value from the row with SELECT statement or everything is forbidden in FOR UPDATE case?". "Forbidden" applies to other threads.
Subject
Written By
Posted
February 07, 2013 11:06AM
Re: FOR UPDATE combined in a single query
February 07, 2013 12:15PM
February 08, 2013 02:28AM
February 10, 2013 10:05AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.