Commit 9727adf6 authored by John Esmet's avatar John Esmet Committed by Yoni Fogel

more doc updates

git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@35757 c7de825b-a66e-492c-adef-691d508d4ae1
parent e0943e6e
......@@ -49,7 +49,7 @@ static int tokudb_hton_initialized;
// grab a write lock when changing the
// hton_init flag
tokudb_hton_init_func() {
tokudb_init_func() {
grab_hton_init_writelock();
...
tokudb_hton_initialized = 1;
......@@ -67,24 +67,15 @@ tokudb_end() {
// grab a read lock while assuming
// the handlerton is usable
//
// same thing for user_data_exact
tokudb_user_data_fill() {
grab_hton_init_readlock();
if (!tokudb_hton_initialized) {
goto error;
// error
} else {
// fill the user data table
}
...
error:
release_hton_init_readlock();
}
tokudb_user_data_exact_fill() {
grab_hton_init_readlock();
if (!tokudb_hton_initialized) {
goto error;
}
...
error:
release_hton_init_readlock();
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment