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
239f813c
Commit
239f813c
authored
Jan 03, 2012
by
Vladislav Vaintroub
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compile error
parent
591fdbe1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
storage/maria/ma_write.c
storage/maria/ma_write.c
+4
-3
No files found.
storage/maria/ma_write.c
View file @
239f813c
...
...
@@ -472,10 +472,11 @@ static my_bool _ma_ck_write_btree_with_log(MARIA_HA *info, MARIA_KEY *key,
int
error
;
my_off_t
new_root
=
*
root
;
uchar
key_buff
[
MARIA_MAX_KEY_BUFF
];
MARIA_KEY
UNINIT_VAR
(
org_key
);
/* Set/used when now_transactional=TRUE */
MARIA_KEY
org_key
;
/* Set/used when now_transactional=TRUE */
my_bool
transactional
=
share
->
now_transactional
;
DBUG_ENTER
(
"_ma_ck_write_btree_with_log"
);
if
(
share
->
now_
transactional
)
if
(
transactional
)
{
/* Save original value as the key may change */
org_key
=
*
key
;
...
...
@@ -483,7 +484,7 @@ static my_bool _ma_ck_write_btree_with_log(MARIA_HA *info, MARIA_KEY *key,
}
error
=
_ma_ck_real_write_btree
(
info
,
key
,
&
new_root
,
comp_flag
);
if
(
!
error
&&
share
->
now_
transactional
)
if
(
!
error
&&
transactional
)
{
/* Log the original value */
*
key
=
org_key
;
...
...
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