Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Mar2018]: mclient -t / --timer does not work as documented #6535

Closed
monetdb-team opened this issue Nov 30, 2020 · 0 comments
Closed

[Mar2018]: mclient -t / --timer does not work as documented #6535

monetdb-team opened this issue Nov 30, 2020 · 0 comments
Labels
bug Something isn't working Client interfaces major

Comments

@monetdb-team
Copy link

Date: 2018-02-08 07:20:39 +0100
From: @drstmane
To: clients devs <>
Version: 11.27.11 (Jul2017-SP3)

Last updated: 2018-03-29 15:39:06 +0200

Comment 26169

Date: 2018-02-08 07:20:39 +0100
From: @drstmane

$ for i in clock minutes seconds milliseconds microseconds none ; do echo -e "\n\t$i\n" ; mclient -d$DB -s'select 0;' -t $i ; echo ; done

clock

+------+
| L2 |
+======+
| 0 |
+------+
1 tuple
clk: 0.579 ms

minutes

warning: invalid argument to -t: minutes
+------+
| L2 |
+======+
| 0 |
+------+
1 tuple
clk: 0.568 ms

seconds

warning: invalid argument to -t: seconds
+------+
| L2 |
+======+
| 0 |
+------+
1 tuple
clk: 0.576 ms

milliseconds

warning: invalid argument to -t: milliseconds
+------+
| L2 |
+======+
| 0 |
+------+
1 tuple
clk: 0.551 ms

microseconds

warning: invalid argument to -t: microseconds
+------+
| L2 |
+======+
| 0 |
+------+
1 tuple
clk: 0.567 ms

none

+------+
| L2 |
+======+
| 0 |
+------+
1 tuple

$ for i in clock minutes seconds milliseconds microseconds none ; do echo -e "\n\t$i\n" ; mclient -d$DB -s'select 0;' --timer=$i ; echo ; done

clock

+------+
| L2 |
+======+
| 0 |
+------+
1 tuple
clk: 0.568 ms

minutes

warning: invalid argument to -t: minutes
+------+
| L2 |
+======+
| 0 |
+------+
1 tuple
clk: 0.563 ms

seconds

warning: invalid argument to -t: seconds
+------+
| L2 |
+======+
| 0 |
+------+
1 tuple
clk: 0.709 ms

milliseconds

warning: invalid argument to -t: milliseconds
+------+
| L2 |
+======+
| 0 |
+------+
1 tuple
clk: 0.567 ms

microseconds

warning: invalid argument to -t: microseconds
+------+
| L2 |
+======+
| 0 |
+------+
1 tuple
clk: 0.570 ms

none

+------+
| L2 |
+======+
| 0 |
+------+
1 tuple

Comment 26170

Date: 2018-02-08 07:22:56 +0100
From: @drstmane

$ mclient --help 2>&1 | grep timer
-t | --timer=format use time formatting {clock,minutes,seconds,milliseconds,microseconds,none}

Comment 26172

Date: 2018-02-08 08:03:40 +0100
From: MonetDB Mercurial Repository <>

Changeset 1c0a5c06a226 made by Stefan Manegold Stefan.Manegold@cwi.nl in the MonetDB repo, refers to this bug.

For complete details, see https//devmonetdborg/hg/MonetDB?cmd=changeset;node=1c0a5c06a226

Changeset description:

fixing bug #6535: correct mclient help message for new --timer / -t / \t option

Comment 26173

Date: 2018-02-08 08:04:48 +0100
From: @drstmane

fixed by correcting mclient's help message for new --timer / -t / \t option

Comment 26300

Date: 2018-03-29 15:39:06 +0200
From: @sjoerdmullender

The Mar2018 version has been released.

@monetdb-team monetdb-team added bug Something isn't working Client interfaces major labels Nov 30, 2020
@sjoerdmullender sjoerdmullender added this to the Ancient Release milestone Feb 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Client interfaces major
Projects
None yet
Development

No branches or pull requests

2 participants