[Taginfo-dev] Questions for a new french instance of taginfo
Jochen Topf
jochen at remote.org
Mon Oct 10 15:15:57 BST 2011
On Mon, Oct 10, 2011 at 11:09:23AM +0200, Jocelyn Jaubert wrote:
> 2011/10/10 Jochen Topf <jochen at remote.org>:
> > Both these examples might have in common that they have something to do with
> > pseudo-booleans (0 or 1 in the database). Sqlite doesn't support proper
> > booleans, so I rember there were some issues there. Maybe different sqlite
> > versions (or ruby sqlite adaptors) work differently there.
>
> I tried your proposed changes, and it works as expected. The patch I
> applied can be found at:
>
> http://osm4.crans.org/~jocelyn/taginfo/0002-Change-1-to-1-on-read-checks-from-sqlite-database.patch
The to_i is important. Its what makes it work in both versions. I have fixed it
on master.
> I'm using Debian Stable, and I think I'm using the following versions
> - I didn't do the taginfo install, so I'm not sure if anything was
> locally installed for taginfo.
>
> - sqlite3 3.7.3
> - ruby 1.8.7 (2010-08-16 patchlevel 302) [x86_64-linux]
> - in gem directory, I can find sqlite3-1.3.4 ruby interface
Ok, I am on Ubuntu and have different versions here. Doesn't matter what
versions, my fix should work with all version.
Jochen
--
Jochen Topf jochen at remote.org http://www.remote.org/jochen/ +49-721-388298
More information about the Taginfo-dev
mailing list