mariadb/trx
marko a3bf31d85b branches/zip: Merge a change from MySQL:
------------------------------------------------------------
revno: 3236
committer: Satya B <satya.bn@sun.com>
branch nick: mysql-5.1-bugteam
timestamp: Tue 2009-12-01 17:48:57 +0530
message:
  merge to mysql-5.1-bugteam
    ------------------------------------------------------------
    revno: 3234.1.1
    committer: Gleb Shchepa <gshchepa@mysql.com>
    branch nick: mysql-5.1-bugteam
    timestamp: Tue 2009-12-01 14:38:40 +0400
    message:
      Bug #38883 (reopened): thd_security_context is not thread safe, crashes?

      manual merge 5.0-->5.1, updating InnoDB plugin.
    ------------------------------------------------------------
    revno: 1810.3968.13
    committer: Gleb Shchepa <gshchepa@mysql.com>
    branch nick: mysql-5.0-bugteam
    timestamp: Tue 2009-12-01 14:24:44 +0400
    message:
      Bug #38883 (reopened): thd_security_context is not thread safe, crashes?

      The bug 38816 changed the lock that protects THD::query from
      LOCK_thread_count to LOCK_thd_data, but didn't update the associated
      InnoDB functions.

      1. The innobase_mysql_prepare_print_arbitrary_thd and the
      innobase_mysql_end_print_arbitrary_thd InnoDB functions have been
      removed, since now we have a per-thread mutex: now we don't need to wrap
      several inter-thread access tries to THD::query with a single global
      LOCK_thread_count lock, so we can simplify the code.

      2. The innobase_mysql_print_thd function has been modified to lock
      LOCK_thd_data in direct way.
2009-12-22 09:04:34 +00:00
..
trx0i_s.c branches/zip: Merge a change from MySQL: 2009-12-22 09:04:34 +00:00
trx0purge.c branches/zip: Free all resources at shutdown. Set pointers to NULL, so 2009-11-02 09:42:56 +00:00
trx0rec.c branches/zip: trx_undo_rec_copy(): Add const qualifier to undo_rec. 2009-08-12 12:16:37 +00:00
trx0roll.c branches/zip: Roll back recovered dictionary transactions before 2009-09-10 10:29:46 +00:00
trx0rseg.c branches/zip: Free all resources at shutdown. Set pointers to NULL, so 2009-11-02 09:42:56 +00:00
trx0sys.c branches/zip: Minor changes which allow build with UNIV_HOTBACKUP 2009-12-03 16:32:47 +00:00
trx0trx.c branches/zip: Merge a change from MySQL: 2009-12-22 09:04:34 +00:00
trx0undo.c branches/zip: Free all resources at shutdown. Set pointers to NULL, so 2009-11-02 09:42:56 +00:00