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
84a91585
Commit
84a91585
authored
Dec 21, 2004
by
joreland@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb - autotest bug fixes
parent
aca04541
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
ndb/test/ndbapi/testDict.cpp
ndb/test/ndbapi/testDict.cpp
+11
-1
No files found.
ndb/test/ndbapi/testDict.cpp
View file @
84a91585
...
...
@@ -125,6 +125,16 @@ int runCreateTheTable(NDBT_Context* ctx, NDBT_Step* step){
return
NDBT_OK
;
}
int
runDropTheTable
(
NDBT_Context
*
ctx
,
NDBT_Step
*
step
){
Ndb
*
pNdb
=
GETNDB
(
step
);
const
NdbDictionary
::
Table
*
pTab
=
ctx
->
getTab
();
// Try to create table in db
pNdb
->
getDictionary
()
->
dropTable
(
pTab
->
getName
());
return
NDBT_OK
;
}
int
runCreateTableWhenDbIsFull
(
NDBT_Context
*
ctx
,
NDBT_Step
*
step
){
Ndb
*
pNdb
=
GETNDB
(
step
);
int
result
=
NDBT_OK
;
...
...
@@ -1584,7 +1594,7 @@ TESTCASE("CreateTableWhenDbIsFull",
INITIALIZER
(
runFillTable
);
INITIALIZER
(
runCreateTableWhenDbIsFull
);
INITIALIZER
(
runDropTableWhenDbIsFull
);
FINALIZER
(
run
Clear
Table
);
FINALIZER
(
run
DropThe
Table
);
}
TESTCASE
(
"FragmentTypeSingle"
,
"Create the table with fragment type Single
\n
"
){
...
...
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