mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Share DB *file; this fixes a deadlock problem.
While we're at it, share the keyfile and keytype arrays, too.
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user