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
4230b1b5
Commit
4230b1b5
authored
Jan 30, 2008
by
jonas@perch.ndb.mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb
into perch.ndb.mysql.com:/home/jonas/src/50-ndb
parents
7bf78e09
0c03b509
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
7 deletions
+9
-7
ndb/src/kernel/blocks/backup/Backup.cpp
ndb/src/kernel/blocks/backup/Backup.cpp
+8
-6
ndb/src/kernel/blocks/backup/Backup.hpp
ndb/src/kernel/blocks/backup/Backup.hpp
+1
-1
No files found.
ndb/src/kernel/blocks/backup/Backup.cpp
View file @
4230b1b5
...
...
@@ -374,16 +374,18 @@ Backup::execCONTINUEB(Signal* signal)
ptr
.
p
->
files
.
getPtr
(
filePtr
,
ptr
.
p
->
ctlFilePtr
);
FsBuffer
&
buf
=
filePtr
.
p
->
operation
.
dataBuffer
;
if
(
buf
.
getFreeSize
()
+
buf
.
getMinRead
()
<
buf
.
getUsableSiz
e
())
{
if
(
buf
.
getFreeSize
()
<
buf
.
getMaxWrit
e
())
{
jam
();
TablePtr
tabPtr
LINT_SET_PTR
;
c_tablePool
.
getPtr
(
tabPtr
,
Tdata2
);
DEBUG_OUT
(
"Backup - Buffer full - "
<<
buf
.
getFreeSize
()
<<
" + "
<<
buf
.
getMinRead
()
<<
" < "
<<
buf
.
getUsableSize
()
<<
" - tableId = "
<<
tabPtr
.
p
->
tableId
);
DEBUG_OUT
(
"Backup - Buffer full - "
<<
buf
.
getFreeSize
()
<<
" < "
<<
buf
.
getMaxWrite
()
<<
" (sz: "
<<
buf
.
getUsableSize
()
<<
" getMinRead: "
<<
buf
.
getMinRead
()
<<
") - tableId = "
<<
tabPtr
.
p
->
tableId
);
signal
->
theData
[
0
]
=
BackupContinueB
::
BUFFER_FULL_META
;
signal
->
theData
[
1
]
=
Tdata1
;
signal
->
theData
[
2
]
=
Tdata2
;
...
...
ndb/src/kernel/blocks/backup/Backup.hpp
View file @
4230b1b5
...
...
@@ -518,7 +518,7 @@ public:
Uint32
m_diskless
;
STATIC_CONST
(
NO_OF_PAGES_META_FILE
=
(
MAX_WORDS_META_FILE
+
BACKUP_WORDS_PER_PAGE
-
1
)
/
(
2
*
MAX_WORDS_META_FILE
+
BACKUP_WORDS_PER_PAGE
-
1
)
/
BACKUP_WORDS_PER_PAGE
);
/**
...
...
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