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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
bbbb156e
Commit
bbbb156e
authored
Jun 22, 2006
by
jonas@perch.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb - bug#20008
no DD when diskless
parent
ef892289
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
1 deletion
+14
-1
storage/ndb/include/kernel/signaldata/CreateFilegroup.hpp
storage/ndb/include/kernel/signaldata/CreateFilegroup.hpp
+2
-1
storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp
storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp
+11
-0
storage/ndb/src/ndbapi/ndberror.c
storage/ndb/src/ndbapi/ndberror.c
+1
-0
No files found.
storage/ndb/include/kernel/signaldata/CreateFilegroup.hpp
View file @
bbbb156e
...
...
@@ -159,7 +159,8 @@ struct CreateFileRef {
InvalidFilegroupVersion
=
754
,
FilenameAlreadyExists
=
760
,
OutOfFileRecords
=
751
,
InvalidFileType
=
750
InvalidFileType
=
750
,
NotSupportedWhenDiskless
=
775
};
Uint32
senderData
;
...
...
storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp
View file @
bbbb156e
...
...
@@ -15153,6 +15153,17 @@ Dbdict::create_file_prepare_start(Signal* signal, SchemaOp* op){
break
;
}
{
Uint32
dl
;
const
ndb_mgm_configuration_iterator
*
p
=
m_ctx
.
m_config
.
getOwnConfigIterator
();
if
(
!
ndb_mgm_get_int_parameter
(
p
,
CFG_DB_DISCLESS
,
&
dl
)
&&
dl
)
{
op
->
m_errorCode
=
CreateFileRef
::
NotSupportedWhenDiskless
;
break
;
}
}
// Loop through all filenames...
if
(
!
c_obj_pool
.
seize
(
obj_ptr
)){
op
->
m_errorCode
=
CreateTableRef
::
NoMoreTableRecords
;
...
...
storage/ndb/src/ndbapi/ndberror.c
View file @
bbbb156e
...
...
@@ -417,6 +417,7 @@ ErrorBundle ErrorCodes[] = {
{
1514
,
DMEC
,
SE
,
"Currently there is a limit of one logfile group"
},
{
773
,
DMEC
,
SE
,
"Out of string memory, please modify StringMemory config parameter"
},
{
775
,
DMEC
,
SE
,
"Create file is not supported when Diskless=1"
},
/**
* FunctionNotImplemented
...
...
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