VACUUM give error in DirectMode

Discussion of open issues, suggestions and bugs regarding LiteDAC (SQLite Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Tarifer
Posts: 26
Joined: Thu 26 May 2011 08:13

VACUUM give error in DirectMode

Post by Tarifer » Thu 30 Aug 2012 11:44

Hello!

This sequence in DirectMode=True give error:

Code: Select all

PRAGMA page_size=16384;
VACUUM; -- change database page size
Error: "Attempt write to read-only database".

If DirectMode=False works fine.
I sent test project to support.

Thanks,
Dmitry Ukolov.

ZEuS
Devart Team
Posts: 240
Joined: Thu 05 Apr 2012 07:32

Re: VACUUM give error in DirectMode

Post by ZEuS » Thu 30 Aug 2012 13:25

Thank you for the information.
We have reproduced the problem and the investigation is in progress.
We will notify you when we have any results.

ZEuS
Devart Team
Posts: 240
Joined: Thu 05 Apr 2012 07:32

Re: VACUUM give error in DirectMode

Post by ZEuS » Fri 31 Aug 2012 14:48

We have fixed the error with the database page size changing.
The fix will be included in the nearest LiteDAC build.

Tarifer
Posts: 26
Joined: Thu 26 May 2011 08:13

Re: VACUUM give error in DirectMode

Post by Tarifer » Fri 31 Aug 2012 16:24

Thanks!
Can you send me patch for testing?

ZEuS
Devart Team
Posts: 240
Joined: Thu 05 Apr 2012 07:32

Re: VACUUM give error in DirectMode

Post by ZEuS » Wed 05 Sep 2012 08:10

We plan to release a new version of LiteDAC in a few days.
So, you will be able to download and test it soon.

Post Reply