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
15d8cc6e
Commit
15d8cc6e
authored
Nov 28, 2007
by
marko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
branches/zip: row_vers_impl_x_locked_off_kernel(): In follow-up to r2119,
assert ut_a(entry) instead of playing it safe.
parent
a3190b1f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
row/row0vers.c
row/row0vers.c
+3
-5
No files found.
row/row0vers.c
View file @
15d8cc6e
...
...
@@ -171,10 +171,8 @@ row_vers_impl_x_locked_off_kernel(
in place of a deleted record, and the BLOB
pointers of the new record were not
initialized yet. But in that case,
prev_version should be NULL.
We will play it safe and avoid dereferencing
entry when it is NULL, later in this function. */
prev_version should be NULL. */
ut_a
(
entry
);
}
mutex_enter
(
&
kernel_mutex
);
...
...
@@ -209,7 +207,7 @@ row_vers_impl_x_locked_off_kernel(
/* We check if entry and rec are identified in the alphabetical
ordering */
if
(
entry
&&
0
==
cmp_dtuple_rec
(
entry
,
rec
,
offsets
))
{
if
(
0
==
cmp_dtuple_rec
(
entry
,
rec
,
offsets
))
{
/* The delete marks of rec and prev_version should be
equal for rec to be in the state required by
prev_version */
...
...
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