Quantcast

.timer command missing from CLI ?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

.timer command missing from CLI ?

Simon Slavin-3
simon$ sqlite3 ~/Desktop/fred.sql
SQLite version 3.16.0 2016-11-04 19:09:39
Enter ".help" for usage hints.
sqlite> .timer on
Error: unknown command or invalid arguments:  "timer". Enter ".help" for help
sqlite> .timer off
Error: unknown command or invalid arguments:  "timer". Enter ".help" for help


It’s still there in the .help command.  What happened ?  Has it been fixed in a later version ?

Simon.
_______________________________________________
sqlite-users mailing list
[hidden email]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: .timer command missing from CLI ?

Ben Newberg
Is that a homebrew version of 3.16.0?

SQLite version 3.16.0 2017-01-02 11:57:58
Enter ".help" for usage hints.
Connected to a transient in-memory database.
Use ".open FILENAME" to reopen on a persistent database.
sqlite> .timer on
sqlite>

3.15.1 was released on 2016-11-04, but it works on that version too.

On Wed, Feb 15, 2017 at 1:09 PM, Simon Slavin <[hidden email]> wrote:

> simon$ sqlite3 ~/Desktop/fred.sql
> SQLite version 3.16.0 2016-11-04 19:09:39
> Enter ".help" for usage hints.
> sqlite> .timer on
> Error: unknown command or invalid arguments:  "timer". Enter ".help" for
> help
> sqlite> .timer off
> Error: unknown command or invalid arguments:  "timer". Enter ".help" for
> help
>
>
> It’s still there in the .help command.  What happened ?  Has it been fixed
> in a later version ?
>
> Simon.
> _______________________________________________
> sqlite-users mailing list
> [hidden email]
> http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
>
_______________________________________________
sqlite-users mailing list
[hidden email]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: .timer command missing from CLI ?

Richard Hipp-3
In reply to this post by Simon Slavin-3
On 2/15/17, Simon Slavin <[hidden email]> wrote:
> simon$ sqlite3 ~/Desktop/fred.sql
> SQLite version 3.16.0 2016-11-04 19:09:39
> Enter ".help" for usage hints.
> sqlite> .timer on
> Error: unknown command or invalid arguments:  "timer". Enter ".help" for

Unable to recreate the problem.

--
D. Richard Hipp
[hidden email]
_______________________________________________
sqlite-users mailing list
[hidden email]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: .timer command missing from CLI ?

Simon Slavin-3
In reply to this post by Ben Newberg

On 15 Feb 2017, at 7:17pm, Ben Newberg <[hidden email]> wrote:

> Is that a homebrew version of 3.16.0?

Not in any way.  It’s one which comes with a very recent version of macOS:

180:Desktop simon$ which sqlite3
/usr/bin/sqlite3
180:Desktop simon$ uname -a
Darwin 180.192.187.81.in-addr.arpa 16.5.0 Darwin Kernel Version 16.5.0: Tue Jan 31 18:57:20 PST 2017; root:xnu-3789.50.195.1.1~1/RELEASE_X86_64 x86_64

I am mystified why it doesn’t work.  I actually found the command in the .help display and copied and pasted it.  Tested to see whether it was the argument which was causing the problem.

sqlite> .changes on
sqlite> .timer on
Error: unknown command or invalid arguments:  "timer". Enter ".help" for help

Simon.
_______________________________________________
sqlite-users mailing list
[hidden email]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: .timer command missing from CLI ?

Richard Hipp-3
On 2/15/17, Simon Slavin <[hidden email]> wrote:
>
> On 15 Feb 2017, at 7:17pm, Ben Newberg <[hidden email]> wrote:
>
>> Is that a homebrew version of 3.16.0?
>
> Not in any way.  It’s one which comes with a very recent version of macOS:

Are you saying it is the one built into MacOS - not one you obtained
from https://www.sqlite.org/download.html?  If so, can you provide me
with details of what OS version you are running, please?

--
D. Richard Hipp
[hidden email]
_______________________________________________
sqlite-users mailing list
[hidden email]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: .timer command missing from CLI ?

Simon Slavin-3

On 15 Feb 2017, at 7:39pm, Richard Hipp <[hidden email]> wrote:

> Are you saying it is the one built into MacOS - not one you obtained
> from https://www.sqlite.org/download.html?  If so, can you provide me
> with details of what OS version you are running, please?

Answered privately because it’s a non-public release of macOS.  Sorry, folks, shouldn’t have posted in public.

Simon.
_______________________________________________
sqlite-users mailing list
[hidden email]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: .timer command missing from CLI ?

Scott Perry
On Feb 15, 2017, at 11:46 AM, Simon Slavin <[hidden email]> wrote:
> On 15 Feb 2017, at 7:39pm, Richard Hipp <[hidden email]> wrote:
>> Are you saying it is the one built into MacOS - not one you obtained
>> from https://www.sqlite.org/download.html?  If so, can you provide me
>> with details of what OS version you are running, please?
>
> Answered privately because it’s a non-public release of macOS.  Sorry, folks, shouldn’t have posted in public.

In the future it would be most appreciated if problems with Apple's version of SQLite were reported by Radar <https://bugreport.apple.com/>, doubly so for pre-release versions of operating systems where the issues can be fixed before the final release.
_______________________________________________
sqlite-users mailing list
[hidden email]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: .timer command missing from CLI ?

Simon Slavin-3

On 17 Feb 2017, at 9:09pm, Scott Perry <[hidden email]> wrote:

> In the future it would be most appreciated if problems with Apple's version of SQLite were reported by Radar <https://bugreport.apple.com/>, doubly so for pre-release versions of operating systems where the issues can be fixed before the final release.

Please see report 30544420.

Simon.
_______________________________________________
sqlite-users mailing list
[hidden email]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
Loading...