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
88719428
Commit
88719428
authored
Mar 26, 2007
by
brian@zim.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
parent
68cdfea5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
15 deletions
+3
-15
storage/archive/ha_archive.cc
storage/archive/ha_archive.cc
+3
-15
No files found.
storage/archive/ha_archive.cc
View file @
88719428
...
...
@@ -923,7 +923,7 @@ int ha_archive::index_read(byte *buf, const byte *key,
int
ha_archive
::
index_read_idx
(
byte
*
buf
,
uint
index
,
const
byte
*
key
,
uint
key_len
,
enum
ha_rkey_function
find_flag
)
{
int
rc
=
0
;
int
rc
;
bool
found
=
0
;
KEY
*
mkey
=
&
table
->
s
->
key_info
[
index
];
current_k_offset
=
mkey
->
key_part
->
offset
;
...
...
@@ -933,22 +933,10 @@ int ha_archive::index_read_idx(byte *buf, uint index, const byte *key,
DBUG_ENTER
(
"ha_archive::index_read_idx"
);
/*
All of the buffer must be written out or we won't see all of the
data
*/
pthread_mutex_lock
(
&
share
->
mutex
);
azflush
(
&
(
share
->
archive_write
),
Z_SYNC_FLUSH
);
pthread_mutex_unlock
(
&
share
->
mutex
);
rc
=
rnd_init
(
TRUE
);
/*
Set the position of the local read thread to the beginning postion.
*/
if
(
read_data_header
(
&
archive
))
{
rc
=
HA_ERR_CRASHED_ON_USAGE
;
if
(
rc
)
goto
error
;
}
while
(
!
(
get_row
(
&
archive
,
buf
)))
{
...
...
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