On Mon, 2008-07-28 at 22:29 +0200, Markus Hoenicka wrote: > Balazs Scheidler writes: > > > > Thanks, this sounds great. > > I've checked in a fix for this problem. Turns out that recent versions > of SQLite have a PRAGMA to make it behave like other database engines > when there are no rows in a result set: > > Test 11: Retrieve zero rows: > libdbi: [query] SELECT * from test_datatypes WHERE 0=1 > test_datatypes contains 26 columns > > I don't know precisely when this pragma was introduced. The test in > libdbi-driver's "make check" will tell you whether or not it works.
Thanks, this sounds even greater :) I'm going to check the changes ASAP, and report whether it works. -- Bazsi ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Libdbi-drivers-devel mailing list Libdbi-drivers-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libdbi-drivers-devel