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
23ae8206
Commit
23ae8206
authored
Nov 15, 2006
by
Justin.He/justin.he@dev3-47.dev.cn.tlan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG#23576, Table is created although tablespace does not exist
parent
c10719c6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
sql/ha_ndbcluster.cc
sql/ha_ndbcluster.cc
+8
-0
No files found.
sql/ha_ndbcluster.cc
View file @
23ae8206
...
...
@@ -4706,10 +4706,18 @@ int ha_ndbcluster::create(const char *name,
}
if
(
info
->
store_on_disk
)
{
if
(
info
->
tablespace
)
tab
.
setTablespace
(
info
->
tablespace
);
else
tab
.
setTablespace
(
"DEFAULT-TS"
);
}
else
if
(
info
->
tablespace
)
{
tab
.
setTablespace
(
info
->
tablespace
);
info
->
store_on_disk
=
true
;
//if use tablespace, that also means store on disk
}
// No primary key, create shadow key as 64 bit, auto increment
if
(
form
->
s
->
primary_key
==
MAX_KEY
)
{
...
...
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