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
fa02ee1a
Commit
fa02ee1a
authored
Jun 09, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/home/jonas/src/mysql-5.0
parents
2e43fc33
2e8a1033
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
ndb/src/kernel/blocks/ndbfs/Ndbfs.cpp
ndb/src/kernel/blocks/ndbfs/Ndbfs.cpp
+9
-9
No files found.
ndb/src/kernel/blocks/ndbfs/Ndbfs.cpp
View file @
fa02ee1a
...
@@ -247,10 +247,10 @@ Ndbfs::readWriteRequest(int action, Signal * signal)
...
@@ -247,10 +247,10 @@ Ndbfs::readWriteRequest(int action, Signal * signal)
AsyncFile
*
openFile
=
theOpenFiles
.
find
(
filePointer
);
AsyncFile
*
openFile
=
theOpenFiles
.
find
(
filePointer
);
const
NewVARIABLE
*
myBaseAddrRef
=
&
getBat
(
blockNumber
)[
fsRWReq
->
varIndex
];
const
NewVARIABLE
*
myBaseAddrRef
=
&
getBat
(
blockNumber
)[
fsRWReq
->
varIndex
];
unsigned
int
tPageSize
;
UintPtr
tPageSize
;
unsigned
int
tClusterSize
;
UintPtr
tClusterSize
;
unsigned
int
tNRR
;
UintPtr
tNRR
;
unsigned
int
tPageOffset
;
UintPtr
tPageOffset
;
char
*
tWA
;
char
*
tWA
;
FsRef
::
NdbfsErrorCodeType
errorCode
;
FsRef
::
NdbfsErrorCodeType
errorCode
;
...
@@ -294,8 +294,8 @@ Ndbfs::readWriteRequest(int action, Signal * signal)
...
@@ -294,8 +294,8 @@ Ndbfs::readWriteRequest(int action, Signal * signal)
jam
();
jam
();
for
(
unsigned
int
i
=
0
;
i
<
fsRWReq
->
numberOfPages
;
i
++
)
{
for
(
unsigned
int
i
=
0
;
i
<
fsRWReq
->
numberOfPages
;
i
++
)
{
jam
();
jam
();
const
Uint
32
varIndex
=
fsRWReq
->
data
.
listOfPair
[
i
].
varIndex
;
const
Uint
Ptr
varIndex
=
fsRWReq
->
data
.
listOfPair
[
i
].
varIndex
;
const
Uint
32
fileOffset
=
fsRWReq
->
data
.
listOfPair
[
i
].
fileOffset
;
const
Uint
Ptr
fileOffset
=
fsRWReq
->
data
.
listOfPair
[
i
].
fileOffset
;
if
(
varIndex
>=
tNRR
)
{
if
(
varIndex
>=
tNRR
)
{
jam
();
jam
();
errorCode
=
FsRef
::
fsErrInvalidParameters
;
errorCode
=
FsRef
::
fsErrInvalidParameters
;
...
@@ -316,8 +316,8 @@ Ndbfs::readWriteRequest(int action, Signal * signal)
...
@@ -316,8 +316,8 @@ Ndbfs::readWriteRequest(int action, Signal * signal)
errorCode
=
FsRef
::
fsErrInvalidParameters
;
errorCode
=
FsRef
::
fsErrInvalidParameters
;
goto
error
;
goto
error
;
}
//if
}
//if
const
Uint
32
varIndex
=
fsRWReq
->
data
.
arrayOfPages
.
varIndex
;
const
Uint
Ptr
varIndex
=
fsRWReq
->
data
.
arrayOfPages
.
varIndex
;
const
Uint
32
fileOffset
=
fsRWReq
->
data
.
arrayOfPages
.
fileOffset
;
const
Uint
Ptr
fileOffset
=
fsRWReq
->
data
.
arrayOfPages
.
fileOffset
;
request
->
par
.
readWrite
.
pages
[
0
].
offset
=
fileOffset
*
tPageSize
;
request
->
par
.
readWrite
.
pages
[
0
].
offset
=
fileOffset
*
tPageSize
;
request
->
par
.
readWrite
.
pages
[
0
].
size
=
tPageSize
*
fsRWReq
->
numberOfPages
;
request
->
par
.
readWrite
.
pages
[
0
].
size
=
tPageSize
*
fsRWReq
->
numberOfPages
;
...
@@ -334,7 +334,7 @@ Ndbfs::readWriteRequest(int action, Signal * signal)
...
@@ -334,7 +334,7 @@ Ndbfs::readWriteRequest(int action, Signal * signal)
for
(
unsigned
int
i
=
0
;
i
<
fsRWReq
->
numberOfPages
;
i
++
)
{
for
(
unsigned
int
i
=
0
;
i
<
fsRWReq
->
numberOfPages
;
i
++
)
{
jam
();
jam
();
Uint
32
varIndex
=
fsRWReq
->
data
.
listOfMemPages
.
varIndex
[
i
];
Uint
Ptr
varIndex
=
fsRWReq
->
data
.
listOfMemPages
.
varIndex
[
i
];
if
(
varIndex
>=
tNRR
)
{
if
(
varIndex
>=
tNRR
)
{
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