mariadb/handler
marko bc48ebd870 branches/zip: Merge revisions 4976:4994 from branches/5.1:
------------------------------------------------------------------------
  r4994 | marko | 2009-05-14 15:04:55 +0300 (Thu, 14 May 2009) | 18 lines

  branches/5.1: Prevent a race condition in innobase_commit() by ensuring
  that innodb_commit_concurrency>0 remains constant at run time. (Bug #42101)

  srv_commit_concurrency: Make this a static variable in ha_innodb.cc.

  innobase_commit_concurrency_validate(): Check that innodb_commit_concurrency
  is not changed from or to 0 at run time.  This is needed, because
  innobase_commit() assumes that innodb_commit_concurrency>0 remains constant.
  Without this limitation, the checks for innodb_commit_concurrency>0
  in innobase_commit() should be removed and that function would have to
  acquire and release commit_cond_m at least twice per invocation.
  Normally, innodb_commit_concurrency=0, and introducing the mutex operations
  would mean significant overhead.

  innodb_bug42101.test, innodb_bug42101-nonzero.test: Test cases.

  rb://123 approved by Heikki Tuuri
  ------------------------------------------------------------------------
2009-05-14 11:31:43 +00:00
..
ha_innodb.cc branches/zip: Merge revisions 4976:4994 from branches/5.1: 2009-05-14 11:31:43 +00:00
ha_innodb.h branches/zip: Refuse to use newly created indexes that may lack 2009-04-02 12:23:12 +00:00
handler0alter.cc branches/zip: 2009-02-17 08:25:45 +00:00
handler0vars.h branches/zip: 2009-02-17 08:25:45 +00:00
i_s.cc branches/zip: 2009-02-17 08:25:45 +00:00
i_s.h branches/zip: 2009-02-17 08:25:45 +00:00
mysql_addons.cc branches/zip: 2009-02-17 08:25:45 +00:00
win_delay_loader.cc branches/zip: remove statically linked libraries from mysql 2009-04-14 13:47:31 +00:00