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
8958f05e
Commit
8958f05e
authored
Aug 25, 2021
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix clang -Wunused-but-set-variable
parent
e696e9e6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
storage/maria/test_ma_backup.c
storage/maria/test_ma_backup.c
+1
-6
No files found.
storage/maria/test_ma_backup.c
View file @
8958f05e
/* Copyright (C) 2018
MariaDB corporation
/* Copyright (C) 2018
, 2021, MariaDB corporation.
This program is free software; you can redistribute it and/or modify
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
it under the terms of the GNU General Public License as published by
...
@@ -178,7 +178,6 @@ static int create_test_table(const char *table_name, int type_of_table)
...
@@ -178,7 +178,6 @@ static int create_test_table(const char *table_name, int type_of_table)
int
key_field
=
FIELD_SKIP_PRESPACE
,
extra_field
=
FIELD_SKIP_ENDSPACE
;
int
key_field
=
FIELD_SKIP_PRESPACE
,
extra_field
=
FIELD_SKIP_ENDSPACE
;
int
key_type
=
HA_KEYTYPE_NUM
;
int
key_type
=
HA_KEYTYPE_NUM
;
int
create_flag
=
0
;
int
create_flag
=
0
;
uint
offset_to_key
;
uint
pack_seg
=
0
,
pack_keys
=
0
;
uint
pack_seg
=
0
,
pack_keys
=
0
;
uint
key_length
;
uint
key_length
;
uchar
record
[
MAX_REC_LENGTH
];
uchar
record
[
MAX_REC_LENGTH
];
...
@@ -303,10 +302,6 @@ static int create_test_table(const char *table_name, int type_of_table)
...
@@ -303,10 +302,6 @@ static int create_test_table(const char *table_name, int type_of_table)
else
else
uniques
=
0
;
uniques
=
0
;
offset_to_key
=
MY_TEST
(
null_fields
);
if
(
key_field
==
FIELD_BLOB
||
key_field
==
FIELD_VARCHAR
)
offset_to_key
+=
2
;
if
(
!
silent
)
if
(
!
silent
)
printf
(
"- Creating Aria file
\n
"
);
printf
(
"- Creating Aria file
\n
"
);
create_info
.
max_rows
=
0
;
create_info
.
max_rows
=
0
;
...
...
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