diff options
author | Mikael Ronström <mikael@dator9> | 2011-04-15 15:58:30 +0200 |
---|---|---|
committer | Mikael Ronström <mikael@dator9> | 2011-04-15 15:58:30 +0200 |
commit | 8b8b0b2776d9d78778097f7c37e2499677e68bc1 (patch) | |
tree | 92ff8d208f630c39ebb7170056e3b9aa365fc10b /storage | |
parent | 18da718b77aae43ac0d641ec91e385e55d7b1360 (diff) | |
download | mariadb-git-8b8b0b2776d9d78778097f7c37e2499677e68bc1.tar.gz |
Merge 5.5, step 3
Diffstat (limited to 'storage')
-rw-r--r-- | storage/innobase/ibuf/ibuf0ibuf.c | 2 | ||||
-rw-r--r-- | storage/innobase/include/buf0rea.h | 1 | ||||
-rw-r--r-- | storage/innobase/include/ibuf0ibuf.h | 2 | ||||
-rw-r--r-- | storage/innobase/mtr/mtr0mtr.c | 1 |
4 files changed, 2 insertions, 4 deletions
diff --git a/storage/innobase/ibuf/ibuf0ibuf.c b/storage/innobase/ibuf/ibuf0ibuf.c index 6771ab219a4..8110bccc162 100644 --- a/storage/innobase/ibuf/ibuf0ibuf.c +++ b/storage/innobase/ibuf/ibuf0ibuf.c @@ -325,7 +325,7 @@ dropped! So, there seems to be no problem. */ /******************************************************************//** Sets the flag in the current mini-transaction record indicating we're inside an insert buffer routine. */ -UNIV_INTERN +UNIV_INLINE void ibuf_enter( /*=======*/ diff --git a/storage/innobase/include/buf0rea.h b/storage/innobase/include/buf0rea.h index 9906981209a..cdf6cdba3d1 100644 --- a/storage/innobase/include/buf0rea.h +++ b/storage/innobase/include/buf0rea.h @@ -28,7 +28,6 @@ Created 11/5/1995 Heikki Tuuri #include "univ.i" #include "buf0types.h" -#include "mtr0types.h" /********************************************************************//** High-level function which reads a page asynchronously from a file to the diff --git a/storage/innobase/include/ibuf0ibuf.h b/storage/innobase/include/ibuf0ibuf.h index 0f1cb0fe688..28c97fd609f 100644 --- a/storage/innobase/include/ibuf0ibuf.h +++ b/storage/innobase/include/ibuf0ibuf.h @@ -234,7 +234,7 @@ ibuf_should_try( a secondary index when we decide */ /******************************************************************//** -Returns TRUE if the current MTR is performing an insert buffer +Returns TRUE if the current OS thread is performing an insert buffer routine. For instance, a read-ahead of non-ibuf pages is forbidden by threads diff --git a/storage/innobase/mtr/mtr0mtr.c b/storage/innobase/mtr/mtr0mtr.c index 877cb93b926..88e698ed818 100644 --- a/storage/innobase/mtr/mtr0mtr.c +++ b/storage/innobase/mtr/mtr0mtr.c @@ -268,7 +268,6 @@ mtr_commit( ut_d(mtr->state = MTR_COMMITTED); dyn_array_free(&(mtr->memo)); dyn_array_free(&(mtr->log)); - mtr->ibuf_inside = FALSE; } #ifndef UNIV_HOTBACKUP |