On Fri, Dec 24, 2010 at 5:19 PM, Andrew Z wrote:
> My application accesses an SQLite database created by another
> application, and I noticed on my system (SQLite 3.7.2, Fedora 14) if
> the subquery returns no values, the delete clause does nothing. Is
> this a bug in SQLite?
Hi,
SQLite sounds pretty reasonnable to me:
>select "select distinct favicon_id from moz_places";
>select distinct favicon_id from moz_places;
Returns NULL
>select "deleting: standard method...";
>delete from moz_favicons where id not in (select distinct favicon_id
>from moz_places); -- here
My application accesses an SQLite database created by another
application, and I noticed on my system (SQLite 3.7.2, Fedora 14) if
the subquery returns no values, the delete clause does nothing. Is
this a bug in SQLite? The expected result below is that all rows from
moz_favicons are deleted.
3 matches
Mail list logo