dedlfix: MySQL und Stored Procedures und Functions

Beitrag lesen

echo $begrüßung;

Nun besteht die Frage, ob zwei Statements in einer Stored Procedure automatisch gebunden sind, oder ob man die Bindung zu einem atomaren Statement erst irgendeiner Maßnahme herstellen muss.

BEGIN ... END Compound Statement Syntax: The optional [NOT] ATOMIC clause is not yet supported. This means that no transactional savepoint is set at the start of the instruction block and the BEGIN clause used in this context has no effect on the current transaction.

Nun müssen Selects udn Update irgendwie so zusammengeschweißt werden, dass da kein anderer Prozess dazwischenpasst. Wie muss man das machen?

Gemäß obiger Aussage bleiben wohl nur die üblichen Mittel übrig: MySQL Transactional and Locking Statements

echo "$verabschiedung $name";