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
ef681d42
Commit
ef681d42
authored
May 27, 2010
by
Vasil Dimov
Browse files
Options
Browse Files
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
8dff6a64
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 @
ef681d42
...
@@ -4706,6 +4706,11 @@ restart:
...
@@ -4706,6 +4706,11 @@ restart:
goto
wait_for_io
;
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
];
slot
=
consecutive_ios
[
0
];
/* Check if there are several consecutive blocks to read or write */
/* Check if there are several consecutive blocks to read or write */
...
...
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