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
ac52f24e
Commit
ac52f24e
authored
Mar 13, 2007
by
jonas@perch.ndb.mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge perch.ndb.mysql.com:/home/jonas/src/51-telco-gca
into perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
parents
023ce289
5ea42fb2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
storage/ndb/src/kernel/blocks/lgman.cpp
storage/ndb/src/kernel/blocks/lgman.cpp
+19
-0
No files found.
storage/ndb/src/kernel/blocks/lgman.cpp
View file @
ac52f24e
...
...
@@ -2918,6 +2918,25 @@ Lgman::stop_run_undo_log(Signal* signal)
ptr
.
p
->
m_file_pos
[
TAIL
]
=
tail
;
init_logbuffer_pointers
(
ptr
);
{
Buffer_idx
head
=
ptr
.
p
->
m_file_pos
[
HEAD
];
Ptr
<
Undofile
>
file
;
m_file_pool
.
getPtr
(
file
,
head
.
m_ptr_i
);
if
(
head
.
m_idx
==
file
.
p
->
m_file_size
-
1
)
{
Local_undofile_list
files
(
m_file_pool
,
ptr
.
p
->
m_files
);
if
(
!
files
.
next
(
file
))
{
jam
();
files
.
first
(
file
);
}
head
.
m_idx
=
0
;
head
.
m_ptr_i
=
file
.
i
;
ptr
.
p
->
m_file_pos
[
HEAD
]
=
head
;
}
}
ptr
.
p
->
m_free_file_words
=
(
Uint64
)
File_formats
::
UNDO_PAGE_WORDS
*
(
Uint64
)
compute_free_file_pages
(
ptr
);
ptr
.
p
->
m_next_reply_ptr_i
=
ptr
.
p
->
m_file_pos
[
HEAD
].
m_ptr_i
;
...
...
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