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
6673d7ca
Commit
6673d7ca
authored
Apr 21, 2006
by
jonas@perch.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb -
Fix error handling when out of diskspace
parent
79a275fe
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
storage/ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp
storage/ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp
+9
-4
No files found.
storage/ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp
View file @
6673d7ca
...
...
@@ -1382,8 +1382,9 @@ int Dbtup::handleInsertReq(Signal* signal,
regOperPtr
.
p
->
userpointer
,
&
regOperPtr
.
p
->
m_tuple_location
);
((
Tuple_header
*
)
ptr
)
->
m_operation_ptr_i
=
regOperPtr
.
i
;
((
Tuple_header
*
)
ptr
)
->
m_header_bits
=
Tuple_header
::
ALLOC
|
base
=
(
Tuple_header
*
)
ptr
;
base
->
m_operation_ptr_i
=
regOperPtr
.
i
;
base
->
m_header_bits
=
Tuple_header
::
ALLOC
|
(
varsize
?
Tuple_header
::
CHAINED_ROW
:
0
);
regOperPtr
.
p
->
m_tuple_location
.
m_page_no
=
real_page_id
;
}
...
...
@@ -1471,7 +1472,7 @@ int Dbtup::handleInsertReq(Signal* signal,
size_change_error:
jam
();
terrorCode
=
ZMEM_NOMEM_ERROR
;
goto
disk_prealloc
_error
;
goto
exit
_error
;
undo_buffer_error:
jam
();
...
...
@@ -1505,9 +1506,13 @@ update_error:
regOperPtr
.
p
->
op_struct
.
in_active_list
=
false
;
regOperPtr
.
p
->
m_tuple_location
.
setNull
();
}
disk_prealloc
_error:
exit
_error:
tupkeyErrorLab
(
signal
);
return
-
1
;
disk_prealloc_error:
base
->
m_header_bits
|=
Tuple_header
::
FREED
;
goto
exit_error
;
}
/* ---------------------------------------------------------------- */
...
...
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