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
97d82808
Commit
97d82808
authored
Mar 11, 2022
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix clang -Wtypedef-redefinition
This fixes commit
77c184df
.
parent
9047a908
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
17 deletions
+17
-17
storage/maria/ma_check.h
storage/maria/ma_check.h
+5
-5
storage/maria/maria_def.h
storage/maria/maria_def.h
+4
-4
storage/maria/s3_func.h
storage/maria/s3_func.h
+3
-3
storage/myisam/myisamdef.h
storage/myisam/myisamdef.h
+5
-5
No files found.
storage/maria/ma_check.h
View file @
97d82808
/* Copyright (C) 2019 MariaDB Corporation AB
/* Copyright (C) 2019
, 2022,
MariaDB Corporation AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
...
...
@@ -20,17 +20,17 @@
in myisamchk.h
*/
typedef
struct
st_sort_key_blocks
/* Used when sorting */
struct
st_sort_key_blocks
/* Used when sorting */
{
uchar
*
buff
,
*
end_pos
;
uchar
lastkey
[
MARIA_MAX_POSSIBLE_KEY_BUFF
];
uint
last_length
;
int
inited
;
}
MA_SORT_KEY_BLOCKS
;
};
typedef
struct
st_sort_ftbuf
struct
st_sort_ftbuf
{
uchar
*
buf
,
*
end
;
int
count
;
uchar
lastkey
[
MARIA_MAX_KEY_BUFF
];
}
MA_SORT_FT_BUF
;
};
storage/maria/maria_def.h
View file @
97d82808
...
...
@@ -150,21 +150,21 @@ struct st_maria_share;
struct
st_maria_handler
;
/* For referense */
struct
st_maria_keydef
;
typedef
struct
st_maria_key
/* Internal info about a key */
struct
st_maria_key
/* Internal info about a key */
{
uchar
*
data
;
/* Data for key */
struct
st_maria_keydef
*
keyinfo
;
/* Definition for key */
uint
data_length
;
/* Length of key data */
uint
ref_length
;
/* record ref + transid */
uint32
flag
;
/* 0 or SEARCH_PART_KEY */
}
MARIA_KEY
;
};
typedef
struct
st_maria_decode_tree
/* Decode huff-table */
struct
st_maria_decode_tree
/* Decode huff-table */
{
uint16
*
table
;
uint
quick_table_bits
;
uchar
*
intervalls
;
}
MARIA_DECODE_TREE
;
};
typedef
struct
s3_info
S3_INFO
;
...
...
storage/maria/s3_func.h
View file @
97d82808
#ifndef S3_FUNC_INCLUDED
#define S3_FUNC_INCLUDED
/* Copyright (C) 2019, 202
0
MariaDB Corporation Ab
/* Copyright (C) 2019, 202
2,
MariaDB Corporation Ab
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
...
...
@@ -41,7 +41,7 @@ extern TYPELIB s3_protocol_typelib;
/* Store information about a s3 connection */
typedef
struct
s3_info
struct
s3_info
{
/* Connection strings */
LEX_CSTRING
access_key
,
secret_key
,
region
,
bucket
,
host_name
;
...
...
@@ -63,7 +63,7 @@ typedef struct s3_info
/* Protocol for the list bucket API call. 1 for Amazon, 2 for some others */
uint8_t
protocol_version
;
}
S3_INFO
;
};
/* flag + length is stored in this header */
...
...
storage/myisam/myisamdef.h
View file @
97d82808
/*
Copyright (c) 2000, 2012, Oracle and/or its affiliates.
Copyright (c) 2017, MariaDB Corporation.
Copyright (c) 2017,
2022,
MariaDB Corporation.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
...
...
@@ -613,21 +613,21 @@ typedef struct st_mi_block_info /* Parameter to _mi_get_block_info */
}
MI_BLOCK_INFO
;
typedef
struct
st_sort_key_blocks
/* Used when sorting */
struct
st_sort_key_blocks
/* Used when sorting */
{
uchar
*
buff
,
*
end_pos
;
uchar
lastkey
[
HA_MAX_POSSIBLE_KEY_BUFF
];
uint
last_length
;
int
inited
;
}
SORT_KEY_BLOCKS
;
};
typedef
struct
st_sort_ftbuf
struct
st_sort_ftbuf
{
uchar
*
buf
,
*
end
;
int
count
;
uchar
lastkey
[
HA_MAX_KEY_BUFF
];
}
SORT_FT_BUF
;
};
/* bits in return from _mi_get_block_info */
...
...
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