diff options
author | Sergei Golubchik <sergii@pisem.net> | 2013-12-22 17:06:50 +0100 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2013-12-22 17:06:50 +0100 |
commit | ffa8c4cfcc41d4f160e3bdfca5cfd4b01a7d6e63 (patch) | |
tree | 728585c36f22a5db3cea796430883d0ebc5c05eb /storage/xtradb/include/btr0cur.ic | |
parent | e27c34f9e4ca15c797fcd3191ee5679c2f237a09 (diff) | |
parent | 52c26f7a1f675185d2ef1a28aca7f9bcc67c6414 (diff) | |
download | mariadb-git-ffa8c4cfcc41d4f160e3bdfca5cfd4b01a7d6e63.tar.gz |
Percona-Server-5.6.14-rel62.0 merge
support ha_innodb.so as a dynamic plugin.
* remove obsolete *,innodb_plugin.rdiff files
* s/--plugin-load=/--plugin-load-add=/
* MYSQL_PLUGIN_IMPORT glob_hostname[]
* use my_error instead of push_warning_printf(ER_DEFAULT)
* don't use tdc_size and tc_size in a module
update test cases (XtraDB is 5.6.14, InnoDB is 5.6.10)
* copy new tests over
* disable some tests for (old) InnoDB
* delete XtraDB tests that no longer apply
small compatibility changes:
* s/HTON_EXTENDED_KEYS/HTON_SUPPORTS_EXTENDED_KEYS/
* revert unnecessary InnoDB changes to make it a bit closer to the upstream
fix XtraDB to compile on Windows (both as a static and a dynamic plugin)
disable XtraDB on Windows (deadlocks) and where no atomic ops are available (e.g. CentOS 5)
storage/innobase/handler/ha_innodb.cc:
revert few unnecessary changes to make it a bit closer to the original InnoDB
storage/innobase/include/univ.i:
correct the version to match what it was merged from
Diffstat (limited to 'storage/xtradb/include/btr0cur.ic')
-rw-r--r-- | storage/xtradb/include/btr0cur.ic | 21 |
1 files changed, 5 insertions, 16 deletions
diff --git a/storage/xtradb/include/btr0cur.ic b/storage/xtradb/include/btr0cur.ic index 5fc4651ca13..080866c7465 100644 --- a/storage/xtradb/include/btr0cur.ic +++ b/storage/xtradb/include/btr0cur.ic @@ -48,7 +48,7 @@ btr_cur_get_page_cur( { return(&((btr_cur_t*) cursor)->page_cur); } -#endif /* UNIV_DEBUG */ + /*********************************************************//** Returns the buffer block on which the tree cursor is positioned. @return pointer to buffer block */ @@ -56,7 +56,7 @@ UNIV_INLINE buf_block_t* btr_cur_get_block( /*==============*/ - btr_cur_t* cursor) /*!< in: tree cursor */ + const btr_cur_t* cursor) /*!< in: tree cursor */ { return(page_cur_get_block(btr_cur_get_page_cur(cursor))); } @@ -68,10 +68,11 @@ UNIV_INLINE rec_t* btr_cur_get_rec( /*============*/ - btr_cur_t* cursor) /*!< in: tree cursor */ + const btr_cur_t* cursor) /*!< in: tree cursor */ { - return(page_cur_get_rec(&(cursor->page_cur))); + return(page_cur_get_rec(btr_cur_get_page_cur(cursor))); } +#endif /* UNIV_DEBUG */ /*********************************************************//** Returns the compressed page on which the tree cursor is positioned. @@ -109,18 +110,6 @@ btr_cur_get_page( } /*********************************************************//** -Returns the index of a cursor. -@return index */ -UNIV_INLINE -dict_index_t* -btr_cur_get_index( -/*==============*/ - btr_cur_t* cursor) /*!< in: B-tree cursor */ -{ - return(cursor->index); -} - -/*********************************************************//** Positions a tree cursor at a given record. */ UNIV_INLINE void |