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
eddb73b3
Commit
eddb73b3
authored
Jul 29, 2006
by
ingo/mydev@chilla.local
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug#20719 - Reading dynamic records with write buffer could fail
After merge fix
parent
df78ef63
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
myisam/mi_dynrec.c
myisam/mi_dynrec.c
+3
-0
No files found.
myisam/mi_dynrec.c
View file @
eddb73b3
...
@@ -1141,6 +1141,9 @@ int _mi_read_dynamic_record(MI_INFO *info, my_off_t filepos, byte *buf)
...
@@ -1141,6 +1141,9 @@ int _mi_read_dynamic_record(MI_INFO *info, my_off_t filepos, byte *buf)
block_info
.
second_read
=
0
;
block_info
.
second_read
=
0
;
do
do
{
{
/* A corrupted table can have wrong pointers. (Bug# 19835) */
if
(
filepos
==
HA_OFFSET_ERROR
)
goto
panic
;
if
(
info
->
opt_flag
&
WRITE_CACHE_USED
&&
if
(
info
->
opt_flag
&
WRITE_CACHE_USED
&&
info
->
rec_cache
.
pos_in_file
<
filepos
+
MI_BLOCK_INFO_HEADER_LENGTH
&&
info
->
rec_cache
.
pos_in_file
<
filepos
+
MI_BLOCK_INFO_HEADER_LENGTH
&&
flush_io_cache
(
&
info
->
rec_cache
))
flush_io_cache
(
&
info
->
rec_cache
))
...
...
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