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
6244a24c
Commit
6244a24c
authored
Aug 11, 2004
by
joreland@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
print test tables
parent
b5c14cf8
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
ndb/test/ndbapi/create_tab.cpp
ndb/test/ndbapi/create_tab.cpp
+3
-2
ndb/test/run-test/daily-basic-tests.txt
ndb/test/run-test/daily-basic-tests.txt
+1
-1
ndb/test/src/NDBT_Tables.cpp
ndb/test/src/NDBT_Tables.cpp
+1
-1
No files found.
ndb/test/ndbapi/create_tab.cpp
View file @
6244a24c
...
...
@@ -63,9 +63,10 @@ int main(int argc, const char** argv){
/**
* Print instead of creating
*/
if
(
argv
[
optind
]
!=
NULL
){
for
(
int
i
=
optind
;
i
<
argc
;
i
++
)
if
(
optind
<
argc
){
for
(
int
i
=
optind
;
i
<
argc
;
i
++
)
{
NDBT_Tables
::
print
(
argv
[
i
]);
}
}
else
{
NDBT_Tables
::
printAll
();
}
...
...
ndb/test/run-test/daily-basic-tests.txt
View file @
6244a24c
...
...
@@ -41,7 +41,7 @@ args: -n PkInsertTwice T1 T6 T10
max-time: 1500
cmd: testBasic
args: -n Fill T1
args: -n Fill T1
3
max-time: 1500
cmd: testBasic
...
...
ndb/test/src/NDBT_Tables.cpp
View file @
6244a24c
...
...
@@ -832,7 +832,7 @@ NDBT_Tables::dropAllTables(Ndb* pNdb){
int
NDBT_Tables
::
print
(
const
char
*
_name
){
const
N
dbDictionary
::
Table
*
tab
=
NDBT_Tables
::
getTable
(
_name
);
const
N
DBT_Table
*
tab
=
(
const
NDBT_Table
*
)
NDBT_Tables
::
getTable
(
_name
);
if
(
tab
==
NULL
){
ndbout
<<
"Could not print table "
<<
_name
<<
", it doesn't exist in list of tables "
...
...
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