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
f5294ebd
Commit
f5294ebd
authored
Jul 04, 2004
by
joreland@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/home/jonas/src/mysql-4.1
into mysql.com:/home/jonas/src/gcc34
parents
fb7f1518
6df958bc
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
20 additions
and
20 deletions
+20
-20
ndb/src/kernel/vm/ArrayPool.hpp
ndb/src/kernel/vm/ArrayPool.hpp
+12
-12
ndb/src/kernel/vm/DLFifoList.hpp
ndb/src/kernel/vm/DLFifoList.hpp
+2
-2
ndb/src/kernel/vm/DLList.hpp
ndb/src/kernel/vm/DLList.hpp
+2
-2
ndb/src/kernel/vm/DataBuffer.hpp
ndb/src/kernel/vm/DataBuffer.hpp
+2
-2
ndb/src/kernel/vm/SLList.hpp
ndb/src/kernel/vm/SLList.hpp
+2
-2
No files found.
ndb/src/kernel/vm/ArrayPool.hpp
View file @
f5294ebd
...
...
@@ -795,8 +795,8 @@ inline
void
UnsafeArrayPool
<
T
>::
getPtrForce
(
Ptr
<
T
>
&
ptr
){
Uint32
i
=
ptr
.
i
;
if
(
i
<
size
){
ptr
.
p
=
&
theArray
[
i
];
if
(
i
<
this
->
size
){
ptr
.
p
=
&
th
is
->
th
eArray
[
i
];
}
else
{
ErrorReporter
::
handleAssert
(
"UnsafeArrayPool<T>::getPtr"
,
__FILE__
,
__LINE__
);
...
...
@@ -808,8 +808,8 @@ inline
void
UnsafeArrayPool
<
T
>::
getPtrForce
(
ConstPtr
<
T
>
&
ptr
)
const
{
Uint32
i
=
ptr
.
i
;
if
(
i
<
size
){
ptr
.
p
=
&
theArray
[
i
];
if
(
i
<
this
->
size
){
ptr
.
p
=
&
th
is
->
th
eArray
[
i
];
}
else
{
ErrorReporter
::
handleAssert
(
"UnsafeArrayPool<T>::getPtr"
,
__FILE__
,
__LINE__
);
...
...
@@ -820,8 +820,8 @@ template <class T>
inline
T
*
UnsafeArrayPool
<
T
>::
getPtrForce
(
Uint32
i
){
if
(
i
<
size
){
return
&
theArray
[
i
];
if
(
i
<
this
->
size
){
return
&
th
is
->
th
eArray
[
i
];
}
else
{
ErrorReporter
::
handleAssert
(
"UnsafeArrayPool<T>::getPtr"
,
__FILE__
,
__LINE__
);
...
...
@@ -833,8 +833,8 @@ template <class T>
inline
const
T
*
UnsafeArrayPool
<
T
>::
getConstPtrForce
(
Uint32
i
)
const
{
if
(
i
<
size
){
return
&
theArray
[
i
];
if
(
i
<
this
->
size
){
return
&
th
is
->
th
eArray
[
i
];
}
else
{
ErrorReporter
::
handleAssert
(
"UnsafeArrayPool<T>::getPtr"
,
__FILE__
,
__LINE__
);
...
...
@@ -847,8 +847,8 @@ inline
void
UnsafeArrayPool
<
T
>::
getPtrForce
(
Ptr
<
T
>
&
ptr
,
Uint32
i
){
ptr
.
i
=
i
;
if
(
i
<
size
){
ptr
.
p
=
&
theArray
[
i
];
if
(
i
<
this
->
size
){
ptr
.
p
=
&
th
is
->
th
eArray
[
i
];
return
;
}
else
{
ErrorReporter
::
handleAssert
(
"UnsafeArrayPool<T>::getPtr"
,
...
...
@@ -861,8 +861,8 @@ inline
void
UnsafeArrayPool
<
T
>::
getPtrForce
(
ConstPtr
<
T
>
&
ptr
,
Uint32
i
)
const
{
ptr
.
i
=
i
;
if
(
i
<
size
){
ptr
.
p
=
&
theArray
[
i
];
if
(
i
<
this
->
size
){
ptr
.
p
=
&
th
is
->
th
eArray
[
i
];
return
;
}
else
{
ErrorReporter
::
handleAssert
(
"UnsafeArrayPool<T>::getPtr"
,
...
...
ndb/src/kernel/vm/DLFifoList.hpp
View file @
f5294ebd
...
...
@@ -153,11 +153,11 @@ public:
LocalDLFifoList
(
ArrayPool
<
T
>
&
thePool
,
typename
DLFifoList
<
T
>::
Head
&
_src
)
:
DLFifoList
<
T
>
(
thePool
),
src
(
_src
)
{
head
=
src
;
this
->
head
=
src
;
}
~
LocalDLFifoList
(){
src
=
head
;
src
=
this
->
head
;
}
private:
typename
DLFifoList
<
T
>::
Head
&
src
;
...
...
ndb/src/kernel/vm/DLList.hpp
View file @
f5294ebd
...
...
@@ -169,11 +169,11 @@ public:
LocalDLList
(
ArrayPool
<
T
>
&
thePool
,
typename
DLList
<
T
>::
Head
&
_src
)
:
DLList
<
T
>
(
thePool
),
src
(
_src
)
{
head
=
src
;
this
->
head
=
src
;
}
~
LocalDLList
(){
src
=
head
;
src
=
this
->
head
;
}
private:
typename
DLList
<
T
>::
Head
&
src
;
...
...
ndb/src/kernel/vm/DataBuffer.hpp
View file @
f5294ebd
...
...
@@ -174,11 +174,11 @@ public:
typename
DataBuffer
<
sz
>::
Head
&
_src
)
:
DataBuffer
<
sz
>
(
thePool
),
src
(
_src
)
{
head
=
src
;
this
->
head
=
src
;
}
~
LocalDataBuffer
(){
src
=
head
;
src
=
this
->
head
;
}
private:
typename
DataBuffer
<
sz
>::
Head
&
src
;
...
...
ndb/src/kernel/vm/SLList.hpp
View file @
f5294ebd
...
...
@@ -137,11 +137,11 @@ public:
LocalSLList
(
ArrayPool
<
T
>
&
thePool
,
typename
SLList
<
T
>::
Head
&
_src
)
:
SLList
<
T
>
(
thePool
),
src
(
_src
)
{
head
=
src
;
this
->
head
=
src
;
}
~
LocalSLList
(){
src
=
head
;
src
=
this
->
head
;
}
private:
typename
SLList
<
T
>::
Head
&
src
;
...
...
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