diff options
author | Vasil Dimov <vasil.dimov@oracle.com> | 2010-04-07 19:53:14 +0300 |
---|---|---|
committer | Vasil Dimov <vasil.dimov@oracle.com> | 2010-04-07 19:53:14 +0300 |
commit | 3cd59969b627a46426f0c1f8774a816a219a1cad (patch) | |
tree | 6115ebe5ca26819ce037dec1d5489184aa28faf0 /storage/innodb_plugin/buf | |
parent | 23990954ab6481c678bc21478f866da0e9b30321 (diff) | |
parent | d587bd4b156afd7872609fb9024fdb9f21f69519 (diff) | |
download | mariadb-git-3cd59969b627a46426f0c1f8774a816a219a1cad.tar.gz |
Import branches/zip@r6960 from SVN on top of storage/innodb_plugin
Diffstat (limited to 'storage/innodb_plugin/buf')
-rw-r--r-- | storage/innodb_plugin/buf/buf0flu.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/storage/innodb_plugin/buf/buf0flu.c b/storage/innodb_plugin/buf/buf0flu.c index ac62a7e9537..f2b07492470 100644 --- a/storage/innodb_plugin/buf/buf0flu.c +++ b/storage/innodb_plugin/buf/buf0flu.c @@ -153,12 +153,14 @@ buf_flush_block_cmp( const void* p2) /*!< in: block2 */ { int ret; + const buf_page_t* b1; + const buf_page_t* b2; ut_ad(p1 != NULL); ut_ad(p2 != NULL); - const buf_page_t* b1 = *(const buf_page_t**) p1; - const buf_page_t* b2 = *(const buf_page_t**) p2; + b1 = *(const buf_page_t**) p1; + b2 = *(const buf_page_t**) p2; ut_ad(b1 != NULL); ut_ad(b2 != NULL); |