1
0
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:
tim@cane.mysql.fi
2000-12-28 04:25:31 +02:00
parent 988a98c393
commit be02015b13
2 changed files with 112 additions and 92 deletions

View File

@ -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;