Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
33c30da1
Commit
33c30da1
authored
Mar 11, 2022
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix clang -Wtypedef-redefinition
Fixup for commit
77c184df
parent
3c9f415e
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12 additions
and
10 deletions
+12
-10
include/my_alloc.h
include/my_alloc.h
+1
-1
include/mysql.h.pp
include/mysql.h.pp
+2
-0
include/mysql/psi/psi_abi_v1.h.pp
include/mysql/psi/psi_abi_v1.h.pp
+1
-1
include/mysql/psi/psi_abi_v2.h.pp
include/mysql/psi/psi_abi_v2.h.pp
+1
-1
include/mysql/psi/psi_base.h
include/mysql/psi/psi_base.h
+7
-0
include/mysql/psi/psi_memory.h
include/mysql/psi/psi_memory.h
+0
-7
No files found.
include/my_alloc.h
View file @
33c30da1
...
...
@@ -20,7 +20,7 @@
#ifndef _my_alloc_h
#define _my_alloc_h
typedef
unsigned
int
PSI_memory_key
;
#include "mysql/psi/psi_base.h"
#define ALLOC_MAX_BLOCK_TO_DROP 4096
#define ALLOC_MAX_BLOCK_USAGE_BEFORE_DROP 10
...
...
include/mysql.h.pp
View file @
33c30da1
...
...
@@ -238,7 +238,9 @@ typedef struct st_mysql_field {
typedef
char
**
MYSQL_ROW
;
typedef
unsigned
int
MYSQL_FIELD_OFFSET
;
typedef
unsigned
long
long
my_ulonglong
;
extern
"C"
{
typedef
unsigned
int
PSI_memory_key
;
}
extern
"C"
{
typedef
struct
st_used_mem
{
...
...
include/mysql/psi/psi_abi_v1.h.pp
View file @
33c30da1
extern
"C"
{
typedef
unsigned
int
PSI_memory_key
;
}
extern
"C"
{
struct
PSI_thread
;
typedef
unsigned
int
PSI_memory_key
;
struct
PSI_memory_info_v1
{
PSI_memory_key
*
m_key
;
...
...
include/mysql/psi/psi_abi_v2.h.pp
View file @
33c30da1
extern
"C"
{
typedef
unsigned
int
PSI_memory_key
;
}
extern
"C"
{
struct
PSI_thread
;
typedef
unsigned
int
PSI_memory_key
;
struct
PSI_memory_info_v2
{
int
placeholder
;
...
...
include/mysql/psi/psi_base.h
View file @
33c30da1
...
...
@@ -164,6 +164,13 @@ extern "C" {
/** @} */
/**
Instrumented memory key.
To instrument memory, a memory key must be obtained using @c register_memory.
Using a zero key always disable the instrumentation.
*/
typedef
unsigned
int
PSI_memory_key
;
#ifdef __cplusplus
}
#endif
...
...
include/mysql/psi/psi_memory.h
View file @
33c30da1
...
...
@@ -53,13 +53,6 @@ extern "C" {
struct
PSI_thread
;
/**
Instrumented memory key.
To instrument memory, a memory key must be obtained using @c register_memory.
Using a zero key always disable the instrumentation.
*/
typedef
unsigned
int
PSI_memory_key
;
#ifdef HAVE_PSI_1
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment