Hi Detlev, I am sorry for the very loooooong delay in responding, but yes it did work for me as well, many thanks for your patches.
I'd love to have a './configure --prefix=... && make install' [even though there is only only file for the time being], could you help me doing the setup or point me a tutorial a could read with regards these matters? Thanks, David ;; -- Le Mon, 04 Apr 2011 18:22:18 +0200, Detlev Zundel <d...@denx.de> a écrit : > Hi David, > > > I spotted where the problem comes from: it is when a text value is empty. I > > have > > produced a small but complete example [attached]: can you reproduce it ? > > Yes, thanks for the test case, I can now reproduce it and hopefully the > attached patches work for you also. > > The first one fixes the ignorance of 'proc' of the 'sqlite-map' > procedure. It took me a while to figure this one out ;) > > The second patch extends 'tests/basic.test' with some statements that > make the problem discovered by you show up. > > The third patch fixes the problem for me. Andy, is this the 'right way' > to test for null pointers? I could not find a cleaner solution in my > limited search... > > The fourth patch fixes a problem I discovered while playing with > sqlite-bind. Really this should generate more testcases. > > Andy, I have now cloned your repo at gitorious[1] for you to pull if > that's easier. I am perfectly happy to rework patches if anything needs > to be done for that. > > Thanks > Detlev > > [1] https://gitorious.org/~dzu/guile-sqlite3/guile-sqlite3-dzu >