1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

P_S 5.7.28

This commit is contained in:
Sergei Golubchik
2019-12-10 15:35:00 +01:00
parent dfe6e914e5
commit 0ea717f51a
942 changed files with 174739 additions and 20780 deletions

View File

@@ -1,4 +1,4 @@
/* Copyright (c) 2010, 2011, Oracle and/or its affiliates. All rights reserved.
/* Copyright (c) 2010, 2016, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License, version 2.0,
@@ -33,6 +33,7 @@
class String;
struct PFS_global_param;
class PFS_opaque_container_page;
/**
@addtogroup Performance_schema_buffers
@@ -75,11 +76,13 @@ struct PFS_ALIGNED PFS_setup_object
bool m_enabled;
/** TIMED flag. */
bool m_timed;
/** Container page. */
PFS_opaque_container_page *m_page;
};
int init_setup_object(const PFS_global_param *param);
void cleanup_setup_object(void);
int init_setup_object_hash(void);
int init_setup_object_hash(const PFS_global_param *param);
void cleanup_setup_object_hash(void);
int insert_setup_object(enum_object_type object_type, const String *schema,
@@ -95,13 +98,7 @@ void lookup_setup_object(PFS_thread *thread,
const char *object_name, int object_name_length,
bool *enabled, bool *timed);
/* For iterators and show status. */
extern ulong setup_object_max;
/* Exposing the data directly, for iterators. */
extern PFS_setup_object *setup_object_array;
/* For show status. */
extern LF_HASH setup_object_hash;