mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
make maria more pluggable
mysql-test/r/maria.result: test for maria variables mysql-test/t/maria.test: test for maria variables BitKeeper/etc/ignore: Added sql/link_sources ylwrap libmysql_r/link_sources to the ignore list sql/sql_delete.cc: fix incorrect check storage/maria/ha_maria.cc: maria status and pagecache variables
This commit is contained in:
@ -23,9 +23,6 @@
|
||||
#include <my_handler.h>
|
||||
#include <ft_global.h>
|
||||
#include <keycache.h>
|
||||
#ifdef WITH_MARIA_STORAGE_ENGINE
|
||||
#include "../storage/maria/ma_pagecache.h"
|
||||
#endif
|
||||
|
||||
#ifndef NO_HASH
|
||||
#define NO_HASH /* Not yet implemented */
|
||||
@ -276,7 +273,6 @@ enum legacy_db_type
|
||||
DB_TYPE_TABLE_FUNCTION,
|
||||
DB_TYPE_MEMCACHE,
|
||||
DB_TYPE_FALCON,
|
||||
DB_TYPE_MARIA,
|
||||
DB_TYPE_FIRST_DYNAMIC=42,
|
||||
DB_TYPE_DEFAULT=127 // Must be last
|
||||
};
|
||||
@ -898,9 +894,6 @@ typedef struct st_ha_check_opt
|
||||
uint flags; /* isam layer flags (e.g. for myisamchk) */
|
||||
uint sql_flags; /* sql layer flags - for something myisamchk cannot do */
|
||||
KEY_CACHE *key_cache; /* new key cache when changing key cache */
|
||||
#ifdef WITH_MARIA_STORAGE_ENGINE
|
||||
PAGECACHE *pagecache; /* new pagecache when changing pagecache */
|
||||
#endif
|
||||
void init();
|
||||
} HA_CHECK_OPT;
|
||||
|
||||
@ -1894,17 +1887,6 @@ int ha_resize_key_cache(KEY_CACHE *key_cache);
|
||||
int ha_change_key_cache_param(KEY_CACHE *key_cache);
|
||||
int ha_change_key_cache(KEY_CACHE *old_key_cache, KEY_CACHE *new_key_cache);
|
||||
int ha_end_key_cache(KEY_CACHE *key_cache);
|
||||
#ifdef WITH_MARIA_STORAGE_ENGINE
|
||||
/* pagecache */
|
||||
int ha_init_pagecache(const char *name, PAGECACHE *pagecache);
|
||||
/*
|
||||
TODO: uncomment when resizing will be implemented
|
||||
int ha_resize_pagecache(PAGECACHE *pagecache);
|
||||
*/
|
||||
int ha_change_pagecache_param(PAGECACHE *pagecache);
|
||||
int ha_change_pagecache(PAGECACHE *old_pagecache, PAGECACHE *new_pagecache);
|
||||
int ha_end_pagecache(PAGECACHE *pagecache);
|
||||
#endif
|
||||
|
||||
/* report to InnoDB that control passes to the client */
|
||||
int ha_release_temporary_latches(THD *thd);
|
||||
|
Reference in New Issue
Block a user