diff options
author | monty@hundin.mysql.fi <> | 2001-12-06 14:10:51 +0200 |
---|---|---|
committer | monty@hundin.mysql.fi <> | 2001-12-06 14:10:51 +0200 |
commit | b658662ae4da6a9cfc83ed52d1cb9b84fcfa98ae (patch) | |
tree | 5892a4c0af05e8a0354e957498fe09243b13eebc /sql/ha_berkeley.cc | |
parent | b4da2fb0ab60caad614ed5ba3705367d7004ab22 (diff) | |
download | mariadb-git-b658662ae4da6a9cfc83ed52d1cb9b84fcfa98ae.tar.gz |
Update copyright
Fixed memory leak on shutdown (Affects the embedded version & MyODBC)
Diffstat (limited to 'sql/ha_berkeley.cc')
-rw-r--r-- | sql/ha_berkeley.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/ha_berkeley.cc b/sql/ha_berkeley.cc index 3cb14b5e72f..e0a802b499a 100644 --- a/sql/ha_berkeley.cc +++ b/sql/ha_berkeley.cc @@ -1043,7 +1043,7 @@ int ha_berkeley::restore_keys(DB_TXN *trans, key_map changed_keys, break; /* purecov: inspected */ } } - + err: DBUG_ASSERT(error != DB_KEYEXIST); DBUG_RETURN(error); @@ -2176,7 +2176,7 @@ static BDB_SHARE *get_share(const char *table_name, TABLE *table) char *tmp_name; DB **key_file; u_int32_t *key_type; - + if ((share=(BDB_SHARE *) my_multi_malloc(MYF(MY_WME | MY_ZEROFILL), &share, sizeof(*share), |