From 8d16c56df518cef24f62c131a94ecde763002b18 Mon Sep 17 00:00:00 2001 From: Rich Prohaska Date: Fri, 25 Mar 2011 13:16:52 +0000 Subject: [PATCH] #3018 build tokudb with mysql 5.5.9 refs[t:3018] git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@29783 c7de825b-a66e-492c-adef-691d508d4ae1 --- storage/tokudb/hatoku_hton.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/storage/tokudb/hatoku_hton.cc b/storage/tokudb/hatoku_hton.cc index 44a221a87f3..1291b8c424f 100644 --- a/storage/tokudb/hatoku_hton.cc +++ b/storage/tokudb/hatoku_hton.cc @@ -397,8 +397,9 @@ static int tokudb_init_func(void *p) { assert(!r); r = db_env->set_generate_row_callback_for_del(db_env,generate_row_for_del); assert(!r); +#if defined(HA_GENERAL_ONLINE) db_env->set_update(db_env, tokudb_update_fun); - +#endif r = db_env->open(db_env, tokudb_home, tokudb_init_flags, S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH); if (tokudb_debug & TOKUDB_DEBUG_INIT) TOKUDB_TRACE("%s:env opened:return=%d\n", __FUNCTION__, r);