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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
2a9d6a0c
Commit
2a9d6a0c
authored
Jan 11, 2008
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
The assert fixed.
parent
266fde77
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
storage/maria/ma_loghandler.c
storage/maria/ma_loghandler.c
+6
-6
No files found.
storage/maria/ma_loghandler.c
View file @
2a9d6a0c
...
...
@@ -1974,8 +1974,8 @@ static my_bool translog_buffer_next(TRANSLOG_ADDRESS *horizon,
translog_wait_for_buffer_free
(
new_buffer
);
#ifndef DBUG_OFF
/* We keep the handler locked so nobody can start this new buffer */
DBUG_ASSERT
(
offset
==
new_buffer
->
offset
&&
file
==
new_buffer
->
file
&&
ver
==
new_buffer
->
ver
);
DBUG_ASSERT
(
offset
==
new_buffer
->
offset
&&
new_buffer
->
file
==
NULL
&&
(
file
==
NULL
?
ver
:
(
uint8
)(
ver
+
1
))
==
new_buffer
->
ver
);
}
#endif
}
...
...
@@ -4348,8 +4348,8 @@ static my_bool translog_advance_pointer(int pages, uint16 last_page_data)
translog_wait_for_buffer_free
(
new_buffer
);
#ifndef DBUG_OFF
/* We keep the handler locked so nobody can start this new buffer */
DBUG_ASSERT
(
offset
==
new_buffer
->
offset
&&
file
==
new_buffer
->
file
&&
ver
==
new_buffer
->
ver
);
DBUG_ASSERT
(
offset
==
new_buffer
->
offset
&&
new_buffer
->
file
==
NULL
&&
(
file
==
NULL
?
ver
:
(
uint8
)(
ver
+
1
))
==
new_buffer
->
ver
);
}
#endif
...
...
@@ -7007,8 +7007,8 @@ static void translog_force_current_buffer_to_finish()
translog_wait_for_buffer_free
(
new_buffer
);
#ifndef DBUG_OFF
/* We keep the handler locked so nobody can start this new buffer */
DBUG_ASSERT
(
offset
==
new_buffer
->
offset
&&
file
==
new_buffer
->
file
&&
ver
==
new_buffer
->
ver
);
DBUG_ASSERT
(
offset
==
new_buffer
->
offset
&&
new_buffer
->
file
==
NULL
&&
(
file
==
NULL
?
ver
:
(
uint8
)(
ver
+
1
))
==
new_buffer
->
ver
);
}
#endif
...
...
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