summaryrefslogtreecommitdiff
path: root/sql/ha_berkeley.cc
diff options
context:
space:
mode:
authorunknown <monty@donna.mysql.com>2001-01-23 01:25:07 +0200
committerunknown <monty@donna.mysql.com>2001-01-23 01:25:07 +0200
commit6370f97b2c9d2fe26be653d1031b918cf097d08e (patch)
tree8bbe5c1f42df3580477789560dc9f52df1d4a2fc /sql/ha_berkeley.cc
parent3e54e5393293426a9bfb7e6036f7e12bdb71d3b5 (diff)
downloadmariadb-git-6370f97b2c9d2fe26be653d1031b918cf097d08e.tar.gz
Added new mutex for hostname lookup
Added free of io_cache when using ALTER TABLE ... ORDER BY Docs/manual.texi: Updated from user comments sql/ha_berkeley.cc: Fixed wrong cast sql/hostname.cc: Added new mutex for hostname lookup sql/sql_table.cc: Added free of io_cache when using ALTER TABLE ... ORDER BY
Diffstat (limited to 'sql/ha_berkeley.cc')
-rw-r--r--sql/ha_berkeley.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/ha_berkeley.cc b/sql/ha_berkeley.cc
index 0c5f09c4b36..944b335016e 100644
--- a/sql/ha_berkeley.cc
+++ b/sql/ha_berkeley.cc
@@ -247,9 +247,9 @@ int berkeley_show_logs(THD *thd)
my_pthread_setspecific_ptr(THR_MALLOC,&show_logs_root);
if ((error= log_archive(db_env, &all_logs, DB_ARCH_ABS | DB_ARCH_LOG,
- (void* (*)(unsigned int)) sql_alloc)) ||
+ (void* (*)(size_t)) sql_alloc)) ||
(error= log_archive(db_env, &free_logs, DB_ARCH_ABS,
- (void* (*)(unsigned int)) sql_alloc)))
+ (void* (*)(size_t)) sql_alloc)))
{
DBUG_PRINT("error", ("log_archive failed (error %d)", error));
db_env->err(db_env, error, "log_archive: DB_ARCH_ABS");