Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Kirill Smelkov
mariadb
Commits
9ff587c6
Commit
9ff587c6
authored
14 years ago
by
Vasil Dimov
Browse files
Options
Download
Email Patches
Plain Diff
Add two debug assertions and a comment to make it clear that
consecutive_ios[0] cannot be NULL when slot is assigned.
parent
0732625a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
storage/innobase/os/os0file.c
storage/innobase/os/os0file.c
+5
-0
No files found.
storage/innobase/os/os0file.c
View file @
9ff587c6
...
...
@@ -4706,6 +4706,11 @@ restart:
goto
wait_for_io
;
}
/* if n_consecutive != 0, then we have assigned
something valid to consecutive_ios[0] */
ut_ad
(
n_consecutive
!=
0
);
ut_ad
(
consecutive_ios
[
0
]
!=
NULL
);
slot
=
consecutive_ios
[
0
];
/* Check if there are several consecutive blocks to read or write */
...
...
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