[Yum-devel] [PATCH] Fix yum in sqlite 3.1

seth vidal skvidal at phy.duke.edu
Tue Mar 15 17:01:32 UTC 2005


On Tue, 2005-03-15 at 16:48 +0100, Gijs Hollestelle wrote:
> Hi all,
> 
> I've just spend some time, making the yum code sqlite 3.1 friendly. It
> turned out to be less work than I expected. Attached is a patch that
> explicitly names all the requested columns when we select from
> multiple tables. I've ran some quick tests on sqlite 3.0 and 3.1 and
> they both appear to work.
> 
> If people agree that this is the way to solve the problem, I'll apply the patch.
> 

So maybe this is just me - but it seems like that patch makes some of
the code a fair bit more tidy, esp for the new developer trying to
figure out what's being queried.

maybe we should have a dump or debug mode of the sqlite sack routines
that dumps all the data out using the various methods, that way we'd
have a full exercise of the sql db for changes like this.

-sv





More information about the Yum-devel mailing list