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
65693931
Commit
65693931
authored
Aug 12, 2004
by
joreland@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testScan -n ScanRandomTable
testDict -n FragmentType
parent
849d42af
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
1 deletion
+3
-1
ndb/test/ndbapi/testDict.cpp
ndb/test/ndbapi/testDict.cpp
+1
-0
ndb/test/ndbapi/testScan.cpp
ndb/test/ndbapi/testScan.cpp
+1
-1
ndb/test/src/NDBT_Tables.cpp
ndb/test/src/NDBT_Tables.cpp
+1
-0
No files found.
ndb/test/ndbapi/testDict.cpp
View file @
65693931
...
...
@@ -537,6 +537,7 @@ int runTestFragmentTypes(NDBT_Context* ctx, NDBT_Step* step){
}
const
NdbDictionary
::
Table
*
pTab
=
ctx
->
getTab
();
pNdb
->
getDictionary
()
->
dropTable
(
pTab
->
getName
());
NdbDictionary
::
Table
newTab
(
*
pTab
);
// Set fragment type for table
...
...
ndb/test/ndbapi/testScan.cpp
View file @
65693931
...
...
@@ -65,7 +65,7 @@ int runDropAllTablesExceptTestTable(NDBT_Context* ctx, NDBT_Step* step){
}
int
res
=
GETNDB
(
step
)
->
getDictionary
()
->
dropTable
(
tab
->
getName
());
if
(
res
!
=
-
1
){
if
(
res
=
=
-
1
){
return
NDBT_FAILED
;
}
}
...
...
ndb/test/src/NDBT_Tables.cpp
View file @
65693931
...
...
@@ -803,6 +803,7 @@ int
NDBT_Tables
::
createAllTables
(
Ndb
*
pNdb
,
bool
_temp
,
bool
existsOk
){
for
(
int
i
=
0
;
i
<
NDBT_Tables
::
getNumTables
();
i
++
){
pNdb
->
getDictionary
()
->
dropTable
(
NDBT_Tables
::
getTable
(
i
)
->
getName
());
int
ret
=
createTable
(
pNdb
,
NDBT_Tables
::
getTable
(
i
)
->
getName
(),
_temp
,
existsOk
);
if
(
ret
)
...
...
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