summaryrefslogtreecommitdiff
path: root/sql/ha_berkeley.h
diff options
context:
space:
mode:
authorunknown <tim@cane.mysql.fi>2000-12-28 04:25:31 +0200
committerunknown <tim@cane.mysql.fi>2000-12-28 04:25:31 +0200
commit373ab5b3cc02b90600234ba9556ed4812b3ddf9a (patch)
treedcba519b9cfd263953b6d1167f5efe7616dd0060 /sql/ha_berkeley.h
parent74bb64d30480d34407cbaee4ef969910d2c14d9f (diff)
downloadmariadb-git-373ab5b3cc02b90600234ba9556ed4812b3ddf9a.tar.gz
Share DB *file; this fixes a deadlock problem.
While we're at it, share the keyfile and keytype arrays, too. sql/ha_berkeley.cc: Share DB *file; this fixes a deadlock problem. While we're at it, share the keyfile and keytype arrays, too. sql/ha_berkeley.h: 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.h3
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;