Loading BitKeeper/etc/logging_ok +1 −0 Original line number Diff line number Diff line Loading @@ -6,3 +6,4 @@ sasha@work.mysql.com serg@serg.mysql.com yfaktoro@nslinuxw2.bedford.progress.com mwagner@evoq.home.mwagner.org tim@work.mysql.com sql/ha_berkeley.cc +3 −2 Original line number Diff line number Diff line Loading @@ -1374,8 +1374,9 @@ int ha_berkeley::external_lock(THD *thd, int lock_type) && !(thd->options & OPTION_BEGIN)) { /* F_UNLOCK is done without a transaction commit / rollback. This means that something went wrong. F_UNLOCK is done without a transaction commit / rollback. This happens if the thread didn't update any rows or if something went wrong during an update. We can in this case silenty abort the transaction. */ DBUG_PRINT("trans",("aborting transaction")); Loading sql/sql_parse.cc +1 −1 Original line number Diff line number Diff line Loading @@ -1539,7 +1539,7 @@ mysql_execute_command(void) /* Check if auto_commit mode changed */ if ((org_options ^ lex->options) & OPTION_AUTO_COMMIT) { if (!org_options & OPTION_AUTO_COMMIT) if (!(org_options & OPTION_AUTO_COMMIT)) { /* We changed to auto_commit mode */ thd->options&= ~OPTION_BEGIN; Loading Loading
BitKeeper/etc/logging_ok +1 −0 Original line number Diff line number Diff line Loading @@ -6,3 +6,4 @@ sasha@work.mysql.com serg@serg.mysql.com yfaktoro@nslinuxw2.bedford.progress.com mwagner@evoq.home.mwagner.org tim@work.mysql.com
sql/ha_berkeley.cc +3 −2 Original line number Diff line number Diff line Loading @@ -1374,8 +1374,9 @@ int ha_berkeley::external_lock(THD *thd, int lock_type) && !(thd->options & OPTION_BEGIN)) { /* F_UNLOCK is done without a transaction commit / rollback. This means that something went wrong. F_UNLOCK is done without a transaction commit / rollback. This happens if the thread didn't update any rows or if something went wrong during an update. We can in this case silenty abort the transaction. */ DBUG_PRINT("trans",("aborting transaction")); Loading
sql/sql_parse.cc +1 −1 Original line number Diff line number Diff line Loading @@ -1539,7 +1539,7 @@ mysql_execute_command(void) /* Check if auto_commit mode changed */ if ((org_options ^ lex->options) & OPTION_AUTO_COMMIT) { if (!org_options & OPTION_AUTO_COMMIT) if (!(org_options & OPTION_AUTO_COMMIT)) { /* We changed to auto_commit mode */ thd->options&= ~OPTION_BEGIN; Loading