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
790c9a05
Commit
790c9a05
authored
Feb 08, 2006
by
konstantin@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Post merge-fixes.
Apply a patch by Jonas for NDB diskdata.
parent
365404a0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
mysql-test/r/sp-code.result
mysql-test/r/sp-code.result
+2
-2
storage/ndb/src/kernel/blocks/ndbfs/AsyncFile.cpp
storage/ndb/src/kernel/blocks/ndbfs/AsyncFile.cpp
+2
-1
No files found.
mysql-test/r/sp-code.result
View file @
790c9a05
...
@@ -155,11 +155,11 @@ Pos Instruction
...
@@ -155,11 +155,11 @@ Pos Instruction
0 stmt 9 "drop temporary table if exists sudoku..."
0 stmt 9 "drop temporary table if exists sudoku..."
1 stmt 1 "create temporary table sudoku_work ( ..."
1 stmt 1 "create temporary table sudoku_work ( ..."
2 stmt 1 "create temporary table sudoku_schedul..."
2 stmt 1 "create temporary table sudoku_schedul..."
3 stmt 9
5
"call sudoku_init("
3 stmt 9
4
"call sudoku_init("
4 jump_if_not 7(8) p_naive@0
4 jump_if_not 7(8) p_naive@0
5 stmt 4 "update sudoku_work set cnt = 0 where ..."
5 stmt 4 "update sudoku_work set cnt = 0 where ..."
6 jump 8
6 jump 8
7 stmt 9
5
"call sudoku_count("
7 stmt 9
4
"call sudoku_count("
8 stmt 6 "insert into sudoku_schedule (row,col)..."
8 stmt 6 "insert into sudoku_schedule (row,col)..."
9 set v_scounter@2 0
9 set v_scounter@2 0
10 set v_i@3 1
10 set v_i@3 1
...
...
storage/ndb/src/kernel/blocks/ndbfs/AsyncFile.cpp
View file @
790c9a05
...
@@ -431,6 +431,7 @@ void AsyncFile::openReq(Request* request)
...
@@ -431,6 +431,7 @@ void AsyncFile::openReq(Request* request)
m_fs
.
EXECUTE_DIRECT
(
block
,
GSN_FSWRITEREQ
,
signal
,
m_fs
.
EXECUTE_DIRECT
(
block
,
GSN_FSWRITEREQ
,
signal
,
FsReadWriteReq
::
FixedLength
+
1
);
FsReadWriteReq
::
FixedLength
+
1
);
retry:
Uint32
size
=
request
->
par
.
open
.
page_size
;
Uint32
size
=
request
->
par
.
open
.
page_size
;
char
*
buf
=
(
char
*
)
m_page_ptr
.
p
;
char
*
buf
=
(
char
*
)
m_page_ptr
.
p
;
while
(
size
>
0
){
while
(
size
>
0
){
...
@@ -457,7 +458,7 @@ void AsyncFile::openReq(Request* request)
...
@@ -457,7 +458,7 @@ void AsyncFile::openReq(Request* request)
close
(
theFd
);
close
(
theFd
);
theFd
=
::
open
(
theFileName
.
c_str
(),
new_flags
,
mode
);
theFd
=
::
open
(
theFileName
.
c_str
(),
new_flags
,
mode
);
if
(
theFd
!=
-
1
)
if
(
theFd
!=
-
1
)
continue
;
goto
retry
;
}
}
#endif
#endif
close
(
theFd
);
close
(
theFd
);
...
...
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