Re: [Monotone-devel] [PATCH] new selectors: earlier or equal and ?later

2005-05-13 Thread Nathaniel Smith
On Fri, May 13, 2005 at 09:32:46AM +0200, Christof Petig wrote: Christof Petig schrieb: Nathaniel Smith schrieb: So, either we're using the wrong sqlite3_bind_ function, or we need to insert an X before our ''. (With a comment noting what's going on in either case, presumably.) IIRC

Re: [Monotone-devel] [PATCH] new selectors: earlier or equal and ?later

2005-05-12 Thread Nathaniel Smith
On Thu, May 12, 2005 at 08:18:48AM +0200, rghetta wrote: Ok, I've taken care of the tabs and rewritten the tests using RAW_MONOTONE. On the normdate function: without it the date comparison simply doesn't work. As an example try a db execute of 'SELECT id FROM revision_certs WHERE name=date

Re: [Monotone-devel] [PATCH] new selectors: earlier or equal and ?later

2005-05-12 Thread Christof Petig
Nathaniel Smith schrieb: So, either we're using the wrong sqlite3_bind_ function, or we need to insert an X before our ''. (With a comment noting what's going on in either case, presumably.) IIRC we are _not_ using _any_ sqlite3_bind_ functions since the descriptor patch (in nwm.sqlite3) is

Re: [Monotone-devel] [PATCH] new selectors: earlier or equal and ?later

2005-05-12 Thread rghetta
On Wed, 2005-05-11 at 18:35 +0200, Richard Levitte - VMS Whacker wrote: If you use emacs, place the following at the top of the file you edit, then do 'M-x normal-mode': // -*- mode: C++; c-file-style: gnu; indent-tabs-mode: nil -*- Thank you for the tip. I'm not using emacs, actually. A

Re: [Monotone-devel] [PATCH] new selectors: earlier or equal and ?later

2005-05-11 Thread Nathaniel Smith
On Sat, May 07, 2005 at 11:05:11AM +0200, rghetta wrote: The following patch adds two new selectors, e: and l: taking a date expression and meaning respectively earlier or equal than and strictly later than. They can be used togheter to form a range [earlier, later). The later end of the