Stephen Chrzanowski wrote:
> I'm not sure why this code is breaking:
>
> procedure SaveDatabaseTo(fName:string);
> var
>   TempDB:tsqlitedatabase;
> begin
>   TempDB:=TSQLiteDatabase.Create(fName);
>   TempDB.ExecSQL('PRAGMA journal_mode = OFF');
>   db.Backup(TempDB);
>   tempdb.free;
> end;
>
> It fails at the PRAGMA statement.

And the error message that you get is only "this fails"?


Regards,
Clemens
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to