summaryrefslogtreecommitdiff
path: root/sql/ha_berkeley.cc
diff options
context:
space:
mode:
authormonty@mashka.mysql.fi <>2003-10-15 22:40:36 +0300
committermonty@mashka.mysql.fi <>2003-10-15 22:40:36 +0300
commit9ef2a83fbe93da4b5d69389e2c5368f96debedc7 (patch)
treedcc59a0d59657900722d4e51c1daeceec81df437 /sql/ha_berkeley.cc
parente71b53a8fec86ee65c136a9447b56361cbf918fb (diff)
downloadmariadb-git-9ef2a83fbe93da4b5d69389e2c5368f96debedc7.tar.gz
Portability fixes for windows
After merge fixes
Diffstat (limited to 'sql/ha_berkeley.cc')
-rw-r--r--sql/ha_berkeley.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/ha_berkeley.cc b/sql/ha_berkeley.cc
index 0795c9d6a96..5b0fc95442c 100644
--- a/sql/ha_berkeley.cc
+++ b/sql/ha_berkeley.cc
@@ -238,7 +238,8 @@ int berkeley_show_logs(Protocol *protocol)
MEM_ROOT *old_root=my_pthread_getspecific_ptr(MEM_ROOT*,THR_MALLOC);
DBUG_ENTER("berkeley_show_logs");
- init_sql_alloc(&show_logs_root, 1024, 1024);
+ init_sql_alloc(&show_logs_root, BDB_LOG_ALLOC_BLOCK_SIZE,
+ BDB_LOG_ALLOC_BLOCK_SIZE);
my_pthread_setspecific_ptr(THR_MALLOC,&show_logs_root);
if ((error= db_env->log_archive(db_env, &all_logs,