| Bug #47551 | ndb_select_count usage does not say where the table names go | ||
|---|---|---|---|
| Submitted: | 23 Sep 14:32 | Modified: | 6 Nov 17:21 |
| Reporter: | Jørgen Austvik | ||
| Status: | Verified | ||
| Category: | Server: Cluster | Severity: | S3 (Non-critical) |
| Version: | mysql-5.1-telco-7.0 | OS: | Any |
| Assigned to: | Target Version: | ||
| Triage: | Triaged: D4 (Minor) / R2 (Low) / E2 (Low) | ||
[30 Oct 13:17]
Hartmut Holzgraefe
I'm a bit confused by the argument specification in select_count.cpp
as "database", "parallelism" and "lock" all seem to be mandatory?
{ "database", 'd', "Name of database table is in",
(uchar**) &_dbname, (uchar**) &_dbname, 0,
GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0 },
{ "parallelism", 'p', "parallelism",
(uchar**) &_parallelism, (uchar**) &_parallelism, 0,
GET_INT, REQUIRED_ARG, 240, 0, 0, 0, 0, 0 },
{ "lock", 'l', "Read(0), Read-hold(1), Exclusive(2)",
(uchar**) &_lock, (uchar**) &_lock, 0,
GET_INT, REQUIRED_ARG, 0, 0, 0, 0, 0, 0 },
[6 Nov 16:56]
Jon Stephens
Hi, Issues with the docs that you want me to fix should be filed as Server:Docs; otherwise, I might never see them. Lead for Docs bugs should be Stefan Hinz. Updated category and lead.
[6 Nov 17:19]
Jon Stephens
I've corrected the 'Usage' shown in the documentation: http://lists.mysql.com/commits/89637
[6 Nov 17:21]
Jon Stephens
Now for the part of this that needs to be fixed in the app itself... Set Assignee/Category/Status/Lead to Unassigned/Server:Cluster/Verified/BOcklin.

Description: [ja155679@asator03:test] /test/install/mysql-5.1-telco-7.0/bin/ndb_select_count Usage: /test/install/mysql-5.1-telco-7.0/bin/ndb_select_count [OPTIONS] (none of the options mention table names) Online documentation: http://dev.mysql.com/doc/refman/5.1/en/mysql-cluster-programs-ndb-select-count.html ndb_select_count [-c connect_string] -ddb_name tbl_name[, tbl_name2[, ...]] How to repeat: ./bin/ndb_select_count Suggested fix: Usage: /test/install/mysql-5.1-telco-7.0/bin/ndb_select_count [OPTIONS] table_name [table_name2]...