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
418f1611
Commit
418f1611
authored
5 years ago
by
Kentoku SHIBA
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use ifdef for unused attributes for Spider
parent
e954d9de
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
storage/spider/spd_table.cc
storage/spider/spd_table.cc
+9
-3
No files found.
storage/spider/spd_table.cc
View file @
418f1611
...
...
@@ -7619,7 +7619,9 @@ int spider_get_sts(
int
sts_sync_level
,
uint
flag
)
{
int
get_type
__attribute__
((
unused
));
#ifdef WITH_PARTITION_STORAGE_ENGINE
int
get_type
;
#endif
int
error_num
=
0
;
bool
need_to_get
=
TRUE
;
DBUG_ENTER
(
"spider_get_sts"
);
...
...
@@ -7767,7 +7769,9 @@ int spider_get_crd(
#endif
int
crd_sync_level
)
{
int
get_type
__attribute__
((
unused
));
#ifdef WITH_PARTITION_STORAGE_ENGINE
int
get_type
;
#endif
int
error_num
=
0
;
bool
need_to_get
=
TRUE
;
DBUG_ENTER
(
"spider_get_crd"
);
...
...
@@ -9273,7 +9277,9 @@ int spider_discover_table_structure(
#endif
Open_tables_backup
open_tables_backup
;
TABLE
*
table_tables
;
uint
str_len
__attribute__
((
unused
));
#ifdef WITH_PARTITION_STORAGE_ENGINE
uint
str_len
;
#endif
char
buf
[
MAX_FIELD_WIDTH
];
spider_string
str
(
buf
,
sizeof
(
buf
),
system_charset_info
);
DBUG_ENTER
(
"spider_discover_table_structure"
);
...
...
This diff is collapsed.
Click to expand it.
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