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 d...@cowlark.com 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

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

[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

2012-12-31 Thread Petr Ferdus
Od: Edward Berner e...@bernerfam.com Komu: fossil-users@lists.fossil-scm.org 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 e...@bernerfam.com 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

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 e...@bernerfam.com mailto:e...@bernerfam.com 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

Re: [fossil-users] fossil sqlite3

2012-12-31 Thread Michael Richter
On 31 December 2012 17:27, Edward Berner e...@bernerfam.com 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

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 December 2012 17:27

[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 thishttp://www.fossil-scm.org/xfer/help?cmd=sqlite3are a bit skimpy (to say the least). Like what are the *?OPTIONS?* mentioned, precisely? What I'm specifically trying to accomplish is to

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 http://www.fossil-scm.org/xfer/help?cmd=sqlite3 are a bit skimpy (to say the least). Like what are the /?OPTIONS?/ mentioned, precisely?

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 jo...@britannica.bec.de 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 up

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

2011-06-11 Thread Martin Gagnon
Le 2011-06-11 à 08:01, Richard Hipp d...@sqlite.org a écrit : On Sat, Jun 11, 2011 at 7:01 AM, Joerg Sonnenberger jo...@britannica.bec.de 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

[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 up arrow to access command history. (similar for left and right to move cursor) I'm get used to the regular sqlite3 shell because our product use sqlite3