[fossil-users] fossil sqlite3

2012-12-30 Thread Michael Richter
Is there any way to execute SQL statements from the command line using fossil sqlite3? The docs for thisare a bit skimpy (to say the least). Like what are the *?OPTIONS?* mentioned, precisely? What I'm specifically trying to accomplish is to extra

Re: [fossil-users] fossil sqlite3

2012-12-30 Thread Edward Berner
On 12/30/2012 10:43 PM, Michael Richter wrote: Is there any way to execute SQL statements from the command line using fossil sqlite3? The docs for this are a bit skimpy (to say the least). Like what are the /?OPTIONS?/ mentioned, precisely? W

Re: [fossil-users] fossil sqlite3

2012-12-31 Thread Petr Ferdus
> Od: "Edward Berner" > Komu: > Datum: 31.12.2012 08:53 > Předmět: Re: [fossil-users] fossil sqlite3 > >On 12/30/2012 10:43 PM, Michael Richter wrote: >> Is there any way to execute SQL statements from the command line using >> fossil sqlite3? The docs

Re: [fossil-users] fossil sqlite3

2012-12-31 Thread Michael Richter
On 31 December 2012 15:53, Edward Berner wrote: > "fossil info" calls it "project-code" but it seems to be the same thing > that "fossil new" and "fossil clone" call "project-id". > Waitwhat? My version of Fossil ("This is fossil version 1.25 [558a17a686] 2012-12-22 13:48:31 UTC") doesn't show

Re: [fossil-users] fossil sqlite3

2012-12-31 Thread Edward Berner
On 12/31/2012 12:24 AM, Michael Richter wrote: On 31 December 2012 15:53, Edward Berner > wrote: "fossil info" calls it "project-code" but it seems to be the same thing that "fossil new" and "fossil clone" call "project-id". Waitwhat? My version of Fossil ("

Re: [fossil-users] fossil sqlite3

2012-12-31 Thread Michael Richter
On 31 December 2012 17:27, Edward Berner wrote: > Waitwhat? My version of Fossil ("This is fossil version 1.25 [558a17a686] >> 2012-12-22 13:48:31 UTC") doesn't show anything about "project-id" for >> fossil new/clone. >> > > What do you get when you create a test repository? It should, I think

Re: [fossil-users] fossil sqlite3

2012-12-31 Thread Tomek Kott
there might have been email overlap. "fossil info" also spits out the project-id. That's what Petr was saying I believe. Date: Mon, 31 Dec 2012 17:51:31 +0800 From: ttmrich...@gmail.com To: fossil-users@lists.fossil-scm.org Subject: Re: [fossil-users] fossil sqlite3 On 31 Dece

[fossil-users] 'fossil sqlite3' db init issues

2013-08-29 Thread David Given
I've found a minor bug in the way the patched sqlite3 shell handles opening the db. In particular, this code from shell.c: if( data.zDbFilename==0 ){ #ifndef SQLITE_OMIT_MEMORYDB data.zDbFilename = ":memory:"; #else fprintf(stderr,"%s: Error: no database filename specified\n", Argv0);

Re: [fossil-users] 'fossil sqlite3' db init issues

2013-09-01 Thread David Given
On 29/08/13 23:19, David Given wrote: [...] > I enclose a patch which I think fixes it; please comment... A little bit more investigation shows that there's actually several ways in which the code initialises the database connection, and they all very slightly, and I'm now a bit confused. It looks

Re: [fossil-users] 'fossil sqlite3' db init issues

2013-09-02 Thread Stephan Beal
On Sun, Sep 1, 2013 at 11:43 PM, David Given wrote: > What I'm actually trying to do is to add some functionality which is > accessed via a couple of extra SQL functions. What's the preferred way > to do this? > Most of the custom funcs are registered in db.c:db_open(), but apparently that one i

[fossil-users] fossil sqlite3 shell vs regular sqlite3 shell

2011-06-10 Thread Martin Gagnon
When use the "fossil sqlite3" shell, the arrow key doesn't work and I get something like ^[[A caracter appearing on screen when I try the arrow to access command history. (similar for and to move cursor) I'm get used to the regular sqlite3 shell because our product use sqlite3 database. With th

Re: [fossil-users] fossil sqlite3 shell vs regular sqlite3 shell

2011-06-11 Thread Joerg Sonnenberger
On Fri, Jun 10, 2011 at 10:09:52PM -0400, Martin Gagnon wrote: > When use the "fossil sqlite3" shell, the arrow key doesn't work and I > get something like ^[[A caracter appearing on screen when I try the > arrow to access command history. (similar for and to move > cursor) It doesn't provide t

Re: [fossil-users] fossil sqlite3 shell vs regular sqlite3 shell

2011-06-11 Thread Richard Hipp
On Sat, Jun 11, 2011 at 7:01 AM, Joerg Sonnenberger wrote: > On Fri, Jun 10, 2011 at 10:09:52PM -0400, Martin Gagnon wrote: > > When use the "fossil sqlite3" shell, the arrow key doesn't work and I > > get something like ^[[A caracter appearing on screen when I try the > > arrow to access comman

Re: [fossil-users] fossil sqlite3 shell vs regular sqlite3 shell

2011-06-11 Thread Martin Gagnon
Le 2011-06-11 à 08:01, Richard Hipp a écrit : > > > On Sat, Jun 11, 2011 at 7:01 AM, Joerg Sonnenberger > wrote: > On Fri, Jun 10, 2011 at 10:09:52PM -0400, Martin Gagnon wrote: > > When use the "fossil sqlite3" shell, the arrow key doesn't work and I > > get something like ^[[A caracter appe