1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

Added macros for nice TIMESPEC usage.

Fixes for building MySQL with gcc 3.0
Added SIGNED / UNSIGNED casts
Fixed core dump bug in net_clear() with libmysqld.
Back to using semaphores in query cache.
Added 'Null' and 'Index_type' to SHOW INDEX.
This commit is contained in:
monty@hundin.mysql.fi
2002-01-02 21:29:41 +02:00
parent 5b77e33910
commit 4b877e0088
59 changed files with 677 additions and 363 deletions

View File

@@ -55,6 +55,8 @@
#define TABLE_COUNTER_TYPE uint8
#include <my_semaphore.h>
struct Query_cache_block;
struct Query_cache_block_table;
struct Query_cache_table;
@@ -107,7 +109,7 @@ struct Query_cache_query
Query_cache_block *res;
NET *wri;
ulong len;
pthread_cond_t lock; // R/W lock of block
sem_t lock; // R/W lock of block
pthread_mutex_t clients_guard;
uint clients;
@@ -396,5 +398,8 @@ protected:
};
extern Query_cache query_cache;
void query_cache_insert(NET *net, const char *packet, ulong length);
void query_cache_end_of_result(NET *net);
void query_cache_abort(NET *net);
#endif