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
7d821c23
Commit
7d821c23
authored
Jan 24, 2006
by
jonas@perch.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug#16738 - ndb dd - out of diskspace
fix typo + add error code to printable list
parent
57c432b9
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
5 deletions
+6
-5
storage/ndb/include/kernel/signaldata/Extent.hpp
storage/ndb/include/kernel/signaldata/Extent.hpp
+1
-1
storage/ndb/src/kernel/blocks/dbtup/DbtupDiskAlloc.cpp
storage/ndb/src/kernel/blocks/dbtup/DbtupDiskAlloc.cpp
+1
-3
storage/ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp
storage/ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp
+1
-0
storage/ndb/src/ndbapi/ndberror.c
storage/ndb/src/ndbapi/ndberror.c
+3
-1
No files found.
storage/ndb/include/kernel/signaldata/Extent.hpp
View file @
7d821c23
...
@@ -32,7 +32,7 @@ struct AllocExtentReq {
...
@@ -32,7 +32,7 @@ struct AllocExtentReq {
enum
ErrorCode
{
enum
ErrorCode
{
UnmappedExtentPageIsNotImplemented
=
1
,
UnmappedExtentPageIsNotImplemented
=
1
,
NoExtentAvailable
=
2
NoExtentAvailable
=
1601
};
};
union
union
...
...
storage/ndb/src/kernel/blocks/dbtup/DbtupDiskAlloc.cpp
View file @
7d821c23
...
@@ -270,11 +270,9 @@ Dbtup::disk_page_prealloc(Signal* signal,
...
@@ -270,11 +270,9 @@ Dbtup::disk_page_prealloc(Signal* signal,
if
((
err
=
tsman
.
alloc_extent
(
&
ext
.
p
->
m_key
))
<
0
)
if
((
err
=
tsman
.
alloc_extent
(
&
ext
.
p
->
m_key
))
<
0
)
{
{
//XXX
c_extent_pool
.
release
(
ext
);
c_extent_pool
.
release
(
ext
);
c_page_request_pool
.
release
(
req
);
c_page_request_pool
.
release
(
req
);
ndbout_c
(
"no free extent"
);
return
err
;
return
-
err
;
}
}
int
pages
=
err
;
int
pages
=
err
;
...
...
storage/ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp
View file @
7d821c23
...
@@ -1439,6 +1439,7 @@ int Dbtup::handleInsertReq(Signal* signal,
...
@@ -1439,6 +1439,7 @@ int Dbtup::handleInsertReq(Signal* signal,
int
ret
=
disk_page_prealloc
(
signal
,
fragPtr
,
&
tmp
,
size
);
int
ret
=
disk_page_prealloc
(
signal
,
fragPtr
,
&
tmp
,
size
);
if
(
unlikely
(
ret
<
0
))
if
(
unlikely
(
ret
<
0
))
{
{
terrorCode
=
-
ret
;
goto
disk_prealloc_error
;
goto
disk_prealloc_error
;
}
}
...
...
storage/ndb/src/ndbapi/ndberror.c
View file @
7d821c23
...
@@ -80,6 +80,7 @@ static const char* empty_string = "";
...
@@ -80,6 +80,7 @@ static const char* empty_string = "";
* 1300 - BACKUP
* 1300 - BACKUP
* 1400 - SUMA
* 1400 - SUMA
* 1500 - LGMAN
* 1500 - LGMAN
* 1600 - TSMAN
* 4000 - API
* 4000 - API
* 4100 - ""
* 4100 - ""
* 4200 - ""
* 4200 - ""
...
@@ -197,6 +198,7 @@ ErrorBundle ErrorCodes[] = {
...
@@ -197,6 +198,7 @@ ErrorBundle ErrorCodes[] = {
{
903
,
HA_ERR_INDEX_FILE_FULL
,
IS
,
"Too many ordered indexes (increase MaxNoOfOrderedIndexes)"
},
{
903
,
HA_ERR_INDEX_FILE_FULL
,
IS
,
"Too many ordered indexes (increase MaxNoOfOrderedIndexes)"
},
{
904
,
HA_ERR_INDEX_FILE_FULL
,
IS
,
"Out of fragment records (increase MaxNoOfOrderedIndexes)"
},
{
904
,
HA_ERR_INDEX_FILE_FULL
,
IS
,
"Out of fragment records (increase MaxNoOfOrderedIndexes)"
},
{
905
,
DMEC
,
IS
,
"Out of attribute records (increase MaxNoOfAttributes)"
},
{
905
,
DMEC
,
IS
,
"Out of attribute records (increase MaxNoOfAttributes)"
},
{
1601
,
HA_ERR_RECORD_FILE_FULL
,
IS
,
"Out extents, tablespace full"
},
/**
/**
* TimeoutExpired
* TimeoutExpired
...
...
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