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

New SET syntax & system variables.

Made a some new buffers thread specific and changeable.
Resize of key_buffer.
AUTO_COMMIT -> AUTOCOMMIT
Fixed mutex bug in DROP DATABASE
Fixed bug when using auto_increment as second part of a key where first part could include NULL.
Split handler->extra() to extra() and extra_opt() to be able to support thread specific buffers.
Don't write message to error log when slave reconnects becasue of timeout.
Fixed possible update problem when using DELETE/UPDATE on small tables
(In some cases we used index even if table scanning would be better)
A lot of minior code cleanups
This commit is contained in:
monty@mashka.mysql.fi
2002-07-23 18:31:22 +03:00
parent 373e19dca1
commit dddc20d9d1
146 changed files with 4346 additions and 2480 deletions

View File

@@ -189,10 +189,10 @@ struct Query_cache_memory_bin
uint number;
Query_cache_block *free_blocks;
inline void init(ulong size)
inline void init(ulong size_arg)
{
#ifndef DBUG_OFF
this->size = size;
size = size_arg;
#endif
number = 0;
free_blocks = 0;
@@ -204,11 +204,11 @@ struct Query_cache_memory_bin_step
ulong size;
ulong increment;
uint idx;
inline void init(ulong size, uint idx, ulong increment)
inline void init(ulong size_arg, uint idx_arg, ulong increment_arg)
{
this->size = size;
this->idx = idx;
this->increment = increment;
size = size_arg;
idx = idx_arg;
increment = increment_arg;
}
};
@@ -398,6 +398,7 @@ protected:
};
extern Query_cache query_cache;
extern TYPELIB query_cache_type_typelib;
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);