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
af6fdc13
Commit
af6fdc13
authored
Feb 19, 2019
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Plain Diff
Merge 10.1 into 10.2
parents
ca76fc4a
346e4608
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
6 deletions
+3
-6
storage/maria/ma_delete.c
storage/maria/ma_delete.c
+0
-2
storage/maria/ma_write.c
storage/maria/ma_write.c
+1
-2
storage/maria/maria_def.h
storage/maria/maria_def.h
+2
-2
No files found.
storage/maria/ma_delete.c
View file @
af6fdc13
...
...
@@ -695,9 +695,7 @@ static int del(MARIA_HA *info, MARIA_KEY *key,
key_start
=
keypos
;
if
(
tmp_key
.
flag
&
(
SEARCH_USER_KEY_HAS_TRANSID
|
SEARCH_PAGE_KEY_HAS_TRANSID
))
{
_ma_mark_page_with_transid
(
share
,
anc_page
);
}
/* Save pointer to next leaf on parent page */
if
(
!
(
*
keyinfo
->
get_key
)(
&
ret_key
,
page_flag
,
share
->
base
.
key_reflength
,
...
...
storage/maria/ma_write.c
View file @
af6fdc13
...
...
@@ -844,9 +844,8 @@ int _ma_insert(register MARIA_HA *info, MARIA_KEY *key,
a_length
+=
t_length
;
if
(
key
->
flag
&
(
SEARCH_USER_KEY_HAS_TRANSID
|
SEARCH_PAGE_KEY_HAS_TRANSID
))
{
_ma_mark_page_with_transid
(
share
,
anc_page
);
}
anc_page
->
size
=
a_length
;
page_store_size
(
share
,
anc_page
);
...
...
storage/maria/maria_def.h
View file @
af6fdc13
...
...
@@ -778,8 +778,8 @@ struct st_maria_handler
transid_korr((buff) + LSN_STORE_SIZE)
#define _ma_store_keypage_flag(share,x,flag) x[(share)->keypage_header - KEYPAGE_USED_SIZE - KEYPAGE_FLAG_SIZE]= (flag)
#define _ma_mark_page_with_transid(share, page) \
(page)->flag|= KEYPAGE_FLAG_HAS_TRANSID;
\
(page)->buff[(share)->keypage_header - KEYPAGE_USED_SIZE - KEYPAGE_FLAG_SIZE]= (page)->flag;
do { (page)->flag|= KEYPAGE_FLAG_HAS_TRANSID;
\
(page)->buff[(share)->keypage_header - KEYPAGE_USED_SIZE - KEYPAGE_FLAG_SIZE]= (page)->flag; } while (0)
#define KEYPAGE_KEY_VERSION(share, x) ((x) + \
(share)->keypage_header - \
...
...
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