On Monday 10 October 2005 2:32 pm, Cyril Scetbon wrote: > Scott Leighton wrote: > >On Monday 10 October 2005 6:03 am, Cyril Scetbon wrote: > >>No error code is returned cause the script is blocked by the instruction > >>$dbh->do($req); > > > > Change that line to > > > > $dbh->do($req) or die $dbh->errstr; > > > > to get an error displayed. > > > > Scott > > I used it but no error is printed. What is weird is that it works on > Linux with the same version of DBD but not on windows. Moreover windows > is swapping. > > I noticed another error. When I try > sqlite3 backup.db "select * from logs where date not in (select date > from logs order by date desc limit (select nlpurge from settings))" > I get Segmentation fault
Try checking the windows database for corruption. Scott -- POPFile, the OpenSource EMail Classifier http://popfile.sourceforge.net/ Linux 2.6.11.4-21.9-default x86_64 SuSE Linux 9.3 (x86-64)