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
23938ca3
Commit
23938ca3
authored
Oct 05, 2017
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some more warnings
parent
7b45da52
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
storage/innobase/btr/btr0sea.cc
storage/innobase/btr/btr0sea.cc
+3
-3
storage/innobase/row/row0log.cc
storage/innobase/row/row0log.cc
+3
-3
No files found.
storage/innobase/btr/btr0sea.cc
View file @
23938ca3
...
...
@@ -80,11 +80,11 @@ btr_search_sys_t* btr_search_sys;
/** If the number of records on the page divided by this parameter
would have been successfully accessed using a hash index, the index
is then built on the page, assuming the global limit has been reached */
#define BTR_SEARCH_PAGE_BUILD_LIMIT 16
#define BTR_SEARCH_PAGE_BUILD_LIMIT 16
U
/** The global limit for consecutive potentially successful hash searches,
before hash index building is started */
#define BTR_SEARCH_BUILD_LIMIT 100
#define BTR_SEARCH_BUILD_LIMIT 100
U
/** Compute a hash value of a record in a page.
@param[in] rec index record
...
...
@@ -637,7 +637,7 @@ btr_search_update_block_hash_info(
if
((
!
block
->
index
)
||
(
block
->
n_hash_helps
>
2
*
page_get_n_recs
(
block
->
frame
))
>
2
U
*
page_get_n_recs
(
block
->
frame
))
||
(
block
->
n_fields
!=
block
->
curr_n_fields
)
||
(
block
->
n_bytes
!=
block
->
curr_n_bytes
)
||
(
block
->
left_side
!=
block
->
curr_left_side
))
{
...
...
storage/innobase/row/row0log.cc
View file @
23938ca3
...
...
@@ -2538,7 +2538,7 @@ row_log_table_apply_op(
rec_init_offsets_temp
(
mrec
,
dup
->
index
,
offsets
,
dup
->
index
->
is_instant
()
?
static_cast
<
rec_comp_status_t
>
(
mrec
[
-
extra_size
]
)
*
(
mrec
-
extra_size
)
)
:
REC_STATUS_ORDINARY
);
next_mrec
=
mrec
+
rec_offs_data_size
(
offsets
);
...
...
@@ -2658,7 +2658,7 @@ row_log_table_apply_op(
rec_init_offsets_temp
(
mrec
,
dup
->
index
,
offsets
,
dup
->
index
->
is_instant
()
?
static_cast
<
rec_comp_status_t
>
(
mrec
[
-
extra_size
]
)
*
(
mrec
-
extra_size
)
)
:
REC_STATUS_ORDINARY
);
next_mrec
=
mrec
+
rec_offs_data_size
(
offsets
);
...
...
@@ -2767,7 +2767,7 @@ row_log_table_apply_op(
rec_init_offsets_temp
(
mrec
,
dup
->
index
,
offsets
,
dup
->
index
->
is_instant
()
?
static_cast
<
rec_comp_status_t
>
(
mrec
[
-
extra_size
]
)
*
(
mrec
-
extra_size
)
)
:
REC_STATUS_ORDINARY
);
next_mrec
=
mrec
+
rec_offs_data_size
(
offsets
);
...
...
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