mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.1-forcollapseandmerge
into zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.1-maint CMakeLists.txt: Auto merged configure.in: Auto merged libmysql/CMakeLists.txt: Auto merged libmysqld/lib_sql.cc: Auto merged mysql-test/r/information_schema_db.result: Auto merged mysql-test/t/information_schema.test: Auto merged sql/CMakeLists.txt: Auto merged sql/ha_ndbcluster.cc: Auto merged sql/item_cmpfunc.cc: Auto merged sql/item_func.cc: Auto merged sql/lock.cc: Auto merged sql/log_event.cc: Auto merged sql/mysql_priv.h: Auto merged sql/mysqld.cc: Auto merged sql/repl_failsafe.cc: Auto merged sql/set_var.cc: Auto merged sql/set_var.h: Auto merged sql/sp_head.cc: Auto merged sql/sql_cache.cc: Auto merged sql/sql_class.cc: Auto merged sql/sql_class.h: Auto merged sql/sql_insert.cc: Auto merged sql/sql_lex.cc: Auto merged sql/sql_lex.h: Auto merged sql/sql_prepare.cc: Auto merged sql/sql_repl.cc: Auto merged sql/sql_select.cc: Auto merged sql/sql_show.cc: Auto merged sql/sql_table.cc: Auto merged sql/sql_view.cc: Auto merged sql/sql_yacc.yy: Auto merged sql/structs.h: Auto merged sql/table.h: Auto merged storage/archive/ha_archive.cc: Auto merged storage/myisam/ha_myisam.cc: Auto merged storage/myisam/mi_open.c: Auto merged storage/myisammrg/ha_myisammrg.cc: Auto merged support-files/mysql.spec.sh: Auto merged client/mysqlcheck.c: Manual merge. mysql-test/r/information_schema.result: Manual merge. mysql-test/r/mysqlcheck.result: Manual merge. mysql-test/t/mysqlcheck.test: Manual merge. sql/slave.cc: Manual merge. sql/sql_base.cc: Manual merge. sql/sql_delete.cc: Manual merge. sql/sql_parse.cc: Manual merge. sql/sql_update.cc: Manual merge.
This commit is contained in:
@ -1534,7 +1534,7 @@ void Query_cache::invalidate(THD *thd, const char *key, uint32 key_length,
|
||||
|
||||
|
||||
/**
|
||||
@brief Synchronize the thread with any flushing operations.
|
||||
Synchronize the thread with any flushing operations.
|
||||
|
||||
This helper function is called whenever a thread needs to operate on the
|
||||
query cache structure (example: during invalidation). If a table flush is in
|
||||
@ -1575,7 +1575,7 @@ void Query_cache::wait_while_table_flush_is_in_progress(bool *interrupt)
|
||||
|
||||
|
||||
/**
|
||||
@brief Remove all cached queries that uses the given database
|
||||
Remove all cached queries that uses the given database.
|
||||
*/
|
||||
|
||||
void Query_cache::invalidate(char *db)
|
||||
@ -1685,8 +1685,8 @@ void Query_cache::flush()
|
||||
|
||||
|
||||
/**
|
||||
@brief Rearrange the memory blocks and join result in cache in 1 block (if
|
||||
result length > join_limit)
|
||||
Rearrange the memory blocks and join result in cache in 1 block (if
|
||||
result length > join_limit)
|
||||
|
||||
@param[in] join_limit If the minimum length of a result block to be joined.
|
||||
@param[in] iteration_limit The maximum number of packing and joining
|
||||
@ -1956,7 +1956,7 @@ void Query_cache::make_disabled()
|
||||
|
||||
/**
|
||||
@class Query_cache
|
||||
@brief Free all resources allocated by the cache.
|
||||
Free all resources allocated by the cache.
|
||||
|
||||
This function frees all resources allocated by the cache. You
|
||||
have to call init_cache() before using the cache again. This function
|
||||
@ -1980,7 +1980,7 @@ void Query_cache::free_cache()
|
||||
|
||||
|
||||
/**
|
||||
@brief Flush the cache.
|
||||
Flush the cache.
|
||||
|
||||
This function will flush cache contents. It assumes we have
|
||||
'structure_guard_mutex' locked. The function sets the m_cache_status flag and
|
||||
@ -2526,7 +2526,7 @@ Query_cache::invalidate_table_internal(THD *thd, uchar *key, uint32 key_length)
|
||||
}
|
||||
|
||||
/**
|
||||
@brief Invalidate a linked list of query cache blocks.
|
||||
Invalidate a linked list of query cache blocks.
|
||||
|
||||
Each block tries to aquire a block level lock before
|
||||
free_query is a called. This function will in turn affect
|
||||
@ -2694,7 +2694,7 @@ my_bool Query_cache::register_all_tables(Query_cache_block *block,
|
||||
|
||||
|
||||
/**
|
||||
@brief Insert used table name into the cache.
|
||||
Insert used table name into the cache.
|
||||
|
||||
@return Error status
|
||||
@retval FALSE On error
|
||||
@ -3423,8 +3423,8 @@ my_bool Query_cache::ask_handler_allowance(THD *thd,
|
||||
|
||||
|
||||
/**
|
||||
@brief Rearrange all memory blocks so that free memory joins at the
|
||||
'bottom' of the allocated memory block containing all cache data.
|
||||
Rearrange all memory blocks so that free memory joins at the
|
||||
'bottom' of the allocated memory block containing all cache data.
|
||||
@see Query_cache::pack(ulong join_limit, uint iteration_limit)
|
||||
*/
|
||||
|
||||
@ -4038,7 +4038,7 @@ void Query_cache::tables_dump()
|
||||
|
||||
|
||||
/**
|
||||
@brief Checks integrity of the various linked lists
|
||||
Checks integrity of the various linked lists
|
||||
|
||||
@return Error status code
|
||||
@retval FALSE Query cache is operational.
|
||||
|
Reference in New Issue
Block a user