diff options
author | tim@cane.mysql.fi <> | 2000-12-28 04:25:31 +0200 |
---|---|---|
committer | tim@cane.mysql.fi <> | 2000-12-28 04:25:31 +0200 |
commit | be02015b13ba8fc8835a17e2d84086705c071036 (patch) | |
tree | dcba519b9cfd263953b6d1167f5efe7616dd0060 /sql/ha_berkeley.h | |
parent | 988a98c39315c53d47e28b79ef88f0a0b7ac4287 (diff) | |
download | mariadb-git-be02015b13ba8fc8835a17e2d84086705c071036.tar.gz |
Share DB *file; this fixes a deadlock problem.
While we're at it, share the keyfile and keytype arrays, too.
Diffstat (limited to 'sql/ha_berkeley.h')
-rw-r--r-- | sql/ha_berkeley.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/ha_berkeley.h b/sql/ha_berkeley.h index 91b3405d593..e8e99cde1c2 100644 --- a/sql/ha_berkeley.h +++ b/sql/ha_berkeley.h @@ -31,7 +31,8 @@ typedef struct st_berkeley_share { THR_LOCK lock; pthread_mutex_t mutex; char *table_name; - DB *status_block; + DB *status_block, *file, **key_file; + u_int32_t *key_type; uint table_name_length,use_count; uint status,version; } BDB_SHARE; |