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
194bc6eb
Commit
194bc6eb
authored
Jan 12, 2005
by
sergefp@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG#5401: post-review fixes
parent
5cf716aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
innobase/row/row0sel.c
innobase/row/row0sel.c
+5
-7
No files found.
innobase/row/row0sel.c
View file @
194bc6eb
...
@@ -2731,7 +2731,6 @@ row_sel_pop_cached_row_for_mysql(
...
@@ -2731,7 +2731,6 @@ row_sel_pop_cached_row_for_mysql(
ulint
i
;
ulint
i
;
mysql_row_templ_t
*
templ
;
mysql_row_templ_t
*
templ
;
byte
*
cached_rec
;
byte
*
cached_rec
;
byte
null_byte
;
ut_ad
(
prebuilt
->
n_fetch_cached
>
0
);
ut_ad
(
prebuilt
->
n_fetch_cached
>
0
);
if
(
prebuilt
->
keep_other_fields_on_keyread
)
if
(
prebuilt
->
keep_other_fields_on_keyread
)
...
@@ -2747,15 +2746,14 @@ row_sel_pop_cached_row_for_mysql(
...
@@ -2747,15 +2746,14 @@ row_sel_pop_cached_row_for_mysql(
buf
+
templ
->
mysql_col_offset
,
buf
+
templ
->
mysql_col_offset
,
cached_rec
+
templ
->
mysql_col_offset
,
cached_rec
+
templ
->
mysql_col_offset
,
templ
->
mysql_col_len
);
templ
->
mysql_col_len
);
/* Copy NULL bit of the current field from cached_rec
/* Copy NULL bit of the current field from cached_rec
to buf */
to buf */
if
(
templ
->
mysql_null_bit_mask
)
if
(
templ
->
mysql_null_bit_mask
)
{
{
null_byte
=
buf
[
templ
->
mysql_null_byte_offset
]
&
buf
[
templ
->
mysql_null_byte_offset
]
^=
~
(
byte
)
templ
->
mysql_null_bit_mask
;
(
buf
[
templ
->
mysql_null_byte_offset
]
^
null_byte
|=
(
byte
)
templ
->
mysql_null_bit_mask
&
cached_rec
[
templ
->
mysql_null_byte_offset
])
&
cached_rec
[
templ
->
mysql_null_byte_offset
];
(
byte
)
templ
->
mysql_null_bit_mask
;
buf
[
templ
->
mysql_null_byte_offset
]
=
null_byte
;
}
}
}
}
}
}
...
...
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