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
0bf78805
Commit
0bf78805
authored
Oct 08, 2007
by
jonas@perch.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb - post merge fixes
parent
64d10977
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
5 deletions
+1
-5
storage/ndb/src/kernel/blocks/dbtup/DbtupDiskAlloc.cpp
storage/ndb/src/kernel/blocks/dbtup/DbtupDiskAlloc.cpp
+0
-4
storage/ndb/src/kernel/blocks/dbtup/DbtupMeta.cpp
storage/ndb/src/kernel/blocks/dbtup/DbtupMeta.cpp
+1
-1
No files found.
storage/ndb/src/kernel/blocks/dbtup/DbtupDiskAlloc.cpp
View file @
0bf78805
...
@@ -1026,8 +1026,6 @@ Dbtup::disk_page_alloc(Signal* signal,
...
@@ -1026,8 +1026,6 @@ Dbtup::disk_page_alloc(Signal* signal,
Disk_alloc_info
&
alloc
=
fragPtrP
->
m_disk_alloc_info
;
Disk_alloc_info
&
alloc
=
fragPtrP
->
m_disk_alloc_info
;
Uint64
lsn
;
Uint64
lsn
;
Uint32
old_free
=
pagePtr
.
p
->
free_space
;
Uint32
old_bits
=
alloc
.
calc_page_free_bits
(
old_free
);
if
(
tabPtrP
->
m_attributes
[
DD
].
m_no_of_varsize
==
0
)
if
(
tabPtrP
->
m_attributes
[
DD
].
m_no_of_varsize
==
0
)
{
{
ddassert
(
pagePtr
.
p
->
uncommitted_used_space
>
0
);
ddassert
(
pagePtr
.
p
->
uncommitted_used_space
>
0
);
...
@@ -1059,7 +1057,6 @@ Dbtup::disk_page_free(Signal *signal,
...
@@ -1059,7 +1057,6 @@ Dbtup::disk_page_free(Signal *signal,
Uint32
logfile_group_id
=
fragPtrP
->
m_logfile_group_id
;
Uint32
logfile_group_id
=
fragPtrP
->
m_logfile_group_id
;
Disk_alloc_info
&
alloc
=
fragPtrP
->
m_disk_alloc_info
;
Disk_alloc_info
&
alloc
=
fragPtrP
->
m_disk_alloc_info
;
Uint32
old_free
=
pagePtr
.
p
->
free_space
;
Uint32
old_free
=
pagePtr
.
p
->
free_space
;
Uint32
old_bits
=
alloc
.
calc_page_free_bits
(
old_free
);
Uint32
sz
;
Uint32
sz
;
Uint64
lsn
;
Uint64
lsn
;
...
@@ -1086,7 +1083,6 @@ Dbtup::disk_page_free(Signal *signal,
...
@@ -1086,7 +1083,6 @@ Dbtup::disk_page_free(Signal *signal,
}
}
Uint32
new_free
=
pagePtr
.
p
->
free_space
;
Uint32
new_free
=
pagePtr
.
p
->
free_space
;
Uint32
new_bits
=
alloc
.
calc_page_free_bits
(
new_free
);
Uint32
ext
=
pagePtr
.
p
->
m_extent_info_ptr
;
Uint32
ext
=
pagePtr
.
p
->
m_extent_info_ptr
;
Uint32
used
=
pagePtr
.
p
->
uncommitted_used_space
;
Uint32
used
=
pagePtr
.
p
->
uncommitted_used_space
;
...
...
storage/ndb/src/kernel/blocks/dbtup/DbtupMeta.cpp
View file @
0bf78805
...
@@ -967,7 +967,7 @@ void Dbtup::releaseFragment(Signal* signal, Uint32 tableId,
...
@@ -967,7 +967,7 @@ void Dbtup::releaseFragment(Signal* signal, Uint32 tableId,
cb
.
m_callbackFunction
=
cb
.
m_callbackFunction
=
safe_cast
(
&
Dbtup
::
drop_table_log_buffer_callback
);
safe_cast
(
&
Dbtup
::
drop_table_log_buffer_callback
);
Uint32
sz
=
sizeof
(
Disk_undo
::
Drop
)
>>
2
;
Uint32
sz
=
sizeof
(
Disk_undo
::
Drop
)
>>
2
;
(
void
)
c_lgman
->
alloc_log_space
(
logfile_group_id
,
sz
);
int
r0
=
c_lgman
->
alloc_log_space
(
logfile_group_id
,
sz
);
if
(
r0
)
if
(
r0
)
{
{
jam
();
jam
();
...
...
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