diff options
author | unknown <jonas@perch.ndb.mysql.com> | 2006-01-11 11:35:25 +0100 |
---|---|---|
committer | unknown <jonas@perch.ndb.mysql.com> | 2006-01-11 11:35:25 +0100 |
commit | 641ce5e97e64fc89e497ee903bca03bef9476665 (patch) | |
tree | 42bd34e581072a3b8da2e30ed6fdbd85b4079395 /storage/ndb/src/kernel/blocks/tsman.hpp | |
parent | 2c0f53d69ceba4f3db98afba47bfb73b3b83525d (diff) | |
download | mariadb-git-641ce5e97e64fc89e497ee903bca03bef9476665.tar.gz |
wl2723 - ndb opt. nr
mysql-test/t/rpl_multi_engine.test:
merge fix
libmysqld/sql_tablespace.cc:
New BitKeeper file ``libmysqld/sql_tablespace.cc''
mysql-test/r/ndb_basic_disk.result:
New BitKeeper file ``mysql-test/r/ndb_basic_disk.result''
mysql-test/t/ndb_basic_disk.test:
New BitKeeper file ``mysql-test/t/ndb_basic_disk.test''
sql/sql_tablespace.cc:
New BitKeeper file ``sql/sql_tablespace.cc''
storage/ndb/src/kernel/blocks/OptNR.txt:
New BitKeeper file ``storage/ndb/src/kernel/blocks/OptNR.txt''
storage/ndb/src/kernel/vm/mem.txt:
New BitKeeper file ``storage/ndb/src/kernel/vm/mem.txt''
storage/ndb/src/kernel/vm/ndbd_malloc_impl.cpp:
New BitKeeper file ``storage/ndb/src/kernel/vm/ndbd_malloc_impl.cpp''
storage/ndb/src/kernel/vm/ndbd_malloc_impl.hpp:
New BitKeeper file ``storage/ndb/src/kernel/vm/ndbd_malloc_impl.hpp''
storage/ndb/tools/ndb_error_reporter:
New BitKeeper file ``storage/ndb/tools/ndb_error_reporter''
Diffstat (limited to 'storage/ndb/src/kernel/blocks/tsman.hpp')
-rw-r--r-- | storage/ndb/src/kernel/blocks/tsman.hpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/storage/ndb/src/kernel/blocks/tsman.hpp b/storage/ndb/src/kernel/blocks/tsman.hpp index cbe5e356440..194178163e8 100644 --- a/storage/ndb/src/kernel/blocks/tsman.hpp +++ b/storage/ndb/src/kernel/blocks/tsman.hpp @@ -196,6 +196,7 @@ private: void create_file_ref(Signal*, Ptr<Tablespace>, Ptr<Datafile>, Uint32,Uint32,Uint32); int update_page_free_bits(Signal*, Local_key*, unsigned bits, Uint64 lsn); + int get_page_free_bits(Signal*, Local_key*, unsigned* bits); int unmap_page(Signal*, Local_key*); int restart_undo_page_free_bits(Signal*, Local_key*, unsigned, Uint64); @@ -267,6 +268,11 @@ public: int update_page_free_bits(Local_key*, unsigned bits, Uint64 lsn); /** + * Get page free bits + */ + int get_page_free_bits(Local_key*, unsigned* bits); + + /** * Update unlogged page free bit */ int unmap_page(Local_key*); @@ -354,6 +360,13 @@ Tablespace_client::update_page_free_bits(Local_key *key, inline int +Tablespace_client::get_page_free_bits(Local_key *key, unsigned* bits) +{ + return m_tsman->get_page_free_bits(m_signal, key, bits); +} + +inline +int Tablespace_client::unmap_page(Local_key *key) { return m_tsman->unmap_page(m_signal, key); |