diff options
author | unknown <jimw@mysql.com> | 2005-01-13 09:09:46 -0800 |
---|---|---|
committer | unknown <jimw@mysql.com> | 2005-01-13 09:09:46 -0800 |
commit | efa0483ea7f96979a7d8bfd04e2a3d5a68eaf25e (patch) | |
tree | 413fc486643af60de0ceb4f76cea2a63e0197099 /sql/ha_berkeley.cc | |
parent | d4f75bc0c95d95be85bbac1bbdb26a57e91a8b3b (diff) | |
parent | d74020eb398a12893b7268fec3cc6885ef624852 (diff) | |
download | mariadb-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.cc | 2 |
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); } |