An error occurred fetching the project authors.
- 05 Jun, 2009 1 commit
-
-
Davi Arnaut authored
The problem is that when a optimization of read-only transactions (bypass 2-phase commit) was implemented, it removed the code that reseted the XID once a transaction wasn't active anymore: sql/sql_parse.cc: - bzero(&thd->transaction.stmt, sizeof(thd->transaction.stmt)); - if (!thd->active_transaction()) - thd->transaction.xid_state.xid.null(); + thd->transaction.stmt.reset(); This mostly worked fine as the transaction commit and rollback functions (in handler.cc) reset the XID once the transaction is ended. But those functions wouldn't reset the XID in case of a empty transaction, leading to a assertion when a new starting a new XA transaction. The solution is to ensure that the XID state is reset when empty transactions are ended (by either commit or rollback). This is achieved by reorganizing the code so that the transaction cleanup routine is invoked whenever a transaction is ended.
-
- 03 Mar, 2009 1 commit
-
-
Matthias Leich authored
+ Fix for Bug#43114 wait_until_count_sessions too restrictive, random PB failures + Removal of a lot of other weaknesses found + modifications according to review
-
- 21 Oct, 2008 3 commits
-
-
Davi Arnaut authored
-
Davi Arnaut authored
The problem was that the server did not robustly handle a unilateral roll back issued by the Resource Manager (RM) due to a resource deadlock within the transaction branch. By not acknowledging the roll back, the server (TM) would eventually corrupt the XA transaction state and crash. The solution is to mark the transaction as rollback-only if the RM indicates that it rolled back its branch of the transaction.
-
Davi Arnaut authored
The problem was that the server did not robustly handle a unilateral roll back issued by the Resource Manager (RM) due to a resource deadlock within the transaction branch. By not acknowledging the roll back, the server (TM) would eventually corrupt the XA transaction state and crash. The solution is to mark the transaction as rollback-only if the RM indicates that it rolled back its branch of the transaction.
-
- 26 Feb, 2007 1 commit
-
-
msvensson@pilot.blaudden authored
- Use mysql_system_tables.sql to create MySQL system tables in all places where we create them(mysql_install_db, mysql-test-run-pl and mysql_fix_privilege_tables.sql)
-
- 05 Oct, 2005 2 commits
-
-
serg@serg.mylan authored
-
serg@serg.mylan authored
-
- 13 Aug, 2005 1 commit
-
-
serg@sergbook.mysql.com authored
-
- 12 Aug, 2005 1 commit
-
-
serg@sergbook.mysql.com authored
Now we keep all active XID's in a hash
-
- 05 Apr, 2005 1 commit
-
-
serg@serg.mylan authored
fix a race condition in TC_LOG_BINLOG::unlog
-
- 03 Apr, 2005 1 commit
-
-
serg@serg.mylan authored
minor cleanups XA tests
-