mirror of
https://github.com/MariaDB/server.git
synced 2025-06-04 18:03:14 +03:00
Merge from innodb-branches-zip
This commit is contained in:
commit
9e451f11a1
@ -403,8 +403,6 @@ ha_print_info(
|
|||||||
FILE* file, /*!< in: file where to print */
|
FILE* file, /*!< in: file where to print */
|
||||||
hash_table_t* table) /*!< in: hash table */
|
hash_table_t* table) /*!< in: hash table */
|
||||||
{
|
{
|
||||||
ut_ad(table);
|
|
||||||
ut_ad(table->magic_n == HASH_TABLE_MAGIC_N);
|
|
||||||
#ifdef UNIV_DEBUG
|
#ifdef UNIV_DEBUG
|
||||||
/* Some of the code here is disabled for performance reasons in production
|
/* Some of the code here is disabled for performance reasons in production
|
||||||
builds, see http://bugs.mysql.com/36941 */
|
builds, see http://bugs.mysql.com/36941 */
|
||||||
@ -418,6 +416,8 @@ builds, see http://bugs.mysql.com/36941 */
|
|||||||
#endif /* PRINT_USED_CELLS */
|
#endif /* PRINT_USED_CELLS */
|
||||||
ulint n_bufs;
|
ulint n_bufs;
|
||||||
|
|
||||||
|
ut_ad(table);
|
||||||
|
ut_ad(table->magic_n == HASH_TABLE_MAGIC_N);
|
||||||
#ifdef PRINT_USED_CELLS
|
#ifdef PRINT_USED_CELLS
|
||||||
for (i = 0; i < hash_get_n_cells(table); i++) {
|
for (i = 0; i < hash_get_n_cells(table); i++) {
|
||||||
|
|
||||||
|
@ -115,7 +115,7 @@ if we are compiling on Windows. */
|
|||||||
|
|
||||||
/* Include <sys/stat.h> to get S_I... macros defined for os0file.c */
|
/* Include <sys/stat.h> to get S_I... macros defined for os0file.c */
|
||||||
# include <sys/stat.h>
|
# include <sys/stat.h>
|
||||||
# if !defined(__NETWARE__) && !defined(__WIN__)
|
# if !defined(__NETWARE__) && !defined(__WIN__)
|
||||||
# include <sys/mman.h> /* mmap() for os0proc.c */
|
# include <sys/mman.h> /* mmap() for os0proc.c */
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user