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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
92c36d78
Commit
92c36d78
authored
Jul 07, 2006
by
jonas@perch.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb - bug#20904
Reset logpartstate if file_change_problem after writeing of zero page is done
parent
ab399277
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
ndb/src/kernel/blocks/dblqh/DblqhMain.cpp
ndb/src/kernel/blocks/dblqh/DblqhMain.cpp
+14
-0
No files found.
ndb/src/kernel/blocks/dblqh/DblqhMain.cpp
View file @
92c36d78
...
...
@@ -12508,6 +12508,20 @@ void Dblqh::lastWriteInFileLab(Signal* signal)
void
Dblqh
::
writePageZeroLab
(
Signal
*
signal
)
{
if
(
logPartPtr
.
p
->
logPartState
==
LogPartRecord
::
FILE_CHANGE_PROBLEM
)
{
if
(
logPartPtr
.
p
->
firstLogQueue
==
RNIL
)
{
jam
();
logPartPtr
.
p
->
logPartState
=
LogPartRecord
::
IDLE
;
}
else
{
jam
();
logPartPtr
.
p
->
logPartState
=
LogPartRecord
::
ACTIVE
;
}
}
logFilePtr
.
p
->
fileChangeState
=
LogFileRecord
::
NOT_ONGOING
;
/*---------------------------------------------------------------------------*/
/* IT COULD HAVE ARRIVED PAGE WRITES TO THE CURRENT FILE WHILE WE WERE */
...
...
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