mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
make myisam usable without threads (and even w/o pthread_t)
This commit is contained in:
@ -366,14 +366,18 @@ typedef struct st_sort_info
|
||||
SORT_KEY_BLOCKS *key_block,*key_block_end;
|
||||
/* sync things*/
|
||||
uint got_error, threads_running;
|
||||
#ifdef THREAD
|
||||
pthread_mutex_t mutex;
|
||||
pthread_cond_t cond;
|
||||
#endif
|
||||
} SORT_INFO;
|
||||
|
||||
|
||||
typedef struct st_mi_sort_param
|
||||
{
|
||||
#ifdef THREAD
|
||||
pthread_t thr;
|
||||
#endif
|
||||
IO_CACHE read_cache, tempfile, tempfile_for_exceptions;
|
||||
DYNAMIC_ARRAY buffpek;
|
||||
ulonglong unique[MI_MAX_KEY_SEG+1];
|
||||
|
Reference in New Issue
Block a user