summaryrefslogtreecommitdiff
path: root/sql/ha_berkeley.cc
diff options
context:
space:
mode:
authorunknown <jimw@mysql.com>2005-01-13 09:09:46 -0800
committerunknown <jimw@mysql.com>2005-01-13 09:09:46 -0800
commitefa0483ea7f96979a7d8bfd04e2a3d5a68eaf25e (patch)
tree413fc486643af60de0ceb4f76cea2a63e0197099 /sql/ha_berkeley.cc
parentd4f75bc0c95d95be85bbac1bbdb26a57e91a8b3b (diff)
parentd74020eb398a12893b7268fec3cc6885ef624852 (diff)
downloadmariadb-git-efa0483ea7f96979a7d8bfd04e2a3d5a68eaf25e.tar.gz
Merge mysql.com:/home/jimw/my/mysql-4.1-bdb-init
into mysql.com:/home/jimw/my/mysql-5.0-clean sql/ha_berkeley.cc: Auto merged
Diffstat (limited to 'sql/ha_berkeley.cc')
-rw-r--r--sql/ha_berkeley.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/ha_berkeley.cc b/sql/ha_berkeley.cc
index fe266fdbf14..915d5dcea26 100644
--- a/sql/ha_berkeley.cc
+++ b/sql/ha_berkeley.cc
@@ -165,11 +165,13 @@ bool berkeley_init(void)
{
db_env->close(db_env,0); /* purecov: inspected */
db_env=0; /* purecov: inspected */
+ goto err;
}
(void) hash_init(&bdb_open_tables,system_charset_info,32,0,0,
(hash_get_key) bdb_get_key,0,0);
pthread_mutex_init(&bdb_mutex,MY_MUTEX_INIT_FAST);
+err:
DBUG_RETURN(db_env == 0);
}