Thread Transaction in C++ MySQL (4 answers)
Opened by skontox at 2004-02-29 23:09

skontox
 2004-03-01 18:30
#10923 #10923
User since
2003-08-06
193 Artikel
BenutzerIn
[default_avatar]
Besten Dank erstmal für Deine Antwort!

Das war nicht das Problem.
Ich hab InnoDB verwendet und auch SET AUTOCOMMIT=0; Und dann COMMIT;
Aber ich habe gerade festgestellt, dass ich in meiner Transaktion
Tables gelocked habe und das klappt nicht im Zusammenhang mit Transaktionen.
Habs gerade herausgefunden, stand unter:

http://www.mysql.com/doc/en/LOCK_TABLES.html

Code: (dl )
NOTE: LOCK TABLES is not transaction-safe and will implicitly commit any active transactions before attempting to lock the tables.



Das Problem ist demnach gelöst.;-)
Dass kommt, wenn man das Kleingedruckte nicht liest!

Besten Dank nochmal!

Gruß skontox

View full thread Transaction in C++ MySQL