mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Introduced a scalable key cache management.
Added some fields to the st_my_thread_var structure to be able to link such structures into a list. include/my_pthread.h: Added some fields to the st_my_thread_var structure to be able to link such structures into a list. mysys/mf_keycache.c: Introduced a scalable key cache management. BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
This commit is contained in:
@ -95,6 +95,7 @@ tonu@hundin.mysql.fi
|
|||||||
tonu@volk.internalnet
|
tonu@volk.internalnet
|
||||||
tonu@x153.internalnet
|
tonu@x153.internalnet
|
||||||
tonu@x3.internalnet
|
tonu@x3.internalnet
|
||||||
|
venu@hundin.mysql.fi
|
||||||
venu@myvenu.com
|
venu@myvenu.com
|
||||||
venu@work.mysql.com
|
venu@work.mysql.com
|
||||||
vva@eagle.mysql.r18.ru
|
vva@eagle.mysql.r18.ru
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
|
||||||
/* Copyright (C) 2000 MySQL AB
|
/* Copyright (C) 2000 MySQL AB
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify
|
||||||
@ -428,7 +429,7 @@ struct tm *localtime_r(const time_t *clock, struct tm *res);
|
|||||||
|
|
||||||
#endif /* defined(__WIN__) */
|
#endif /* defined(__WIN__) */
|
||||||
|
|
||||||
#if defined(HPUX10) && !defined(DONT_REMAP_PTHREAD_FUNCTIONS)
|
#if defined(HPUX) && !defined(DONT_REMAP_PTHREAD_FUNCTIONS)
|
||||||
#undef pthread_cond_timedwait
|
#undef pthread_cond_timedwait
|
||||||
#define pthread_cond_timedwait(a,b,c) my_pthread_cond_timedwait((a),(b),(c))
|
#define pthread_cond_timedwait(a,b,c) my_pthread_cond_timedwait((a),(b),(c))
|
||||||
int my_pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mutex,
|
int my_pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mutex,
|
||||||
@ -581,13 +582,9 @@ extern int pthread_dummy(int);
|
|||||||
|
|
||||||
#define THREAD_NAME_SIZE 10
|
#define THREAD_NAME_SIZE 10
|
||||||
#if defined(__ia64__)
|
#if defined(__ia64__)
|
||||||
/*
|
#define DEFAULT_THREAD_STACK (128*1024)
|
||||||
MySQL can survive with 32K, but some glibc libraries require > 128K stack
|
|
||||||
To resolve hostnames
|
|
||||||
*/
|
|
||||||
#define DEFAULT_THREAD_STACK (192*1024L)
|
|
||||||
#else
|
#else
|
||||||
#define DEFAULT_THREAD_STACK (192*1024L)
|
#define DEFAULT_THREAD_STACK (64*1024)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
struct st_my_thread_var
|
struct st_my_thread_var
|
||||||
@ -601,6 +598,8 @@ struct st_my_thread_var
|
|||||||
long id;
|
long id;
|
||||||
int cmp_length;
|
int cmp_length;
|
||||||
int volatile abort;
|
int volatile abort;
|
||||||
|
struct st_my_thread_var *next,**prev;
|
||||||
|
void *opt_info;
|
||||||
#ifndef DBUG_OFF
|
#ifndef DBUG_OFF
|
||||||
gptr dbug;
|
gptr dbug;
|
||||||
char name[THREAD_NAME_SIZE+1];
|
char name[THREAD_NAME_SIZE+1];
|
||||||
|
2359
mysys/mf_keycache.c
2359
mysys/mf_keycache.c
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user