diff options
author | monty@mashka.mysql.fi <> | 2002-11-16 20:19:10 +0200 |
---|---|---|
committer | monty@mashka.mysql.fi <> | 2002-11-16 20:19:10 +0200 |
commit | 1a96948e81b079b1f84f98be9c6569e57f47a5a9 (patch) | |
tree | 9cac640546f7a1615d184835e8fea1d18456e4e5 /include | |
parent | aa67a7963266468927490cc3fc37089b721dc474 (diff) | |
download | mariadb-git-1a96948e81b079b1f84f98be9c6569e57f47a5a9.tar.gz |
Small improvement to alloc_root
Add support for LIMIT # OFFSET #
Changed lock handling: Now all locks should be stored in TABLE_LIST instead of passed to functions.
Don't call query_cache_invalidate() twice in some cases
mysql_change_user() now clears states to be equal to close + connect.
Fixed a bug with multi-table-update and multi-table-delete when used with LOCK TABLES
Fixed a bug with replicate-do and UPDATE
Diffstat (limited to 'include')
-rw-r--r-- | include/my_alloc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/my_alloc.h b/include/my_alloc.h index 31f1fb7165f..a3dd35d7ea3 100644 --- a/include/my_alloc.h +++ b/include/my_alloc.h @@ -21,7 +21,8 @@ #ifndef _my_alloc_h #define _my_alloc_h -#define MAX_BLOCK_USAGE_BEFORE_DROP 10 +#define ALLOC_MAX_BLOCK_TO_DROP 4096 +#define ALLOC_MAX_BLOCK_USAGE_BEFORE_DROP 10 typedef struct st_used_mem { /* struct for once_alloc (block) */ |