monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] unhexification of revision hashes


From: Ludovic Brenta
Subject: Re: [Monotone-devel] unhexification of revision hashes
Date: Tue, 29 Jan 2008 21:33:12 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

Markus Schiltknecht writes:
> The prefix_matching_constraint() function prepares an WHERE clause,
> which imitates the sqlite'ism named 'GLOB'. Instead of using a clause
> like
>
>   WHERE id GLOB 'deadbe*'
>
> It now prepares a where clause more similar to:
>
>   WHERE id >= 'deadbe' AND id <= 'deadbf'

Sorry to interrupt but in standard SQL there is

    WHERE id LIKE 'deadbe%'

and I happen to use it occasionally on the command line.  I'm worried
that that won't be possible anymore after the unhexification.

-- 
Ludovic Brenta.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]