Page 1 of 1

VACUUM give error in DirectMode

Posted: Thu 30 Aug 2012 11:44
by Tarifer
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.

Re: VACUUM give error in DirectMode

Posted: Thu 30 Aug 2012 13:25
by ZEuS
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.

Re: VACUUM give error in DirectMode

Posted: Fri 31 Aug 2012 14:48
by ZEuS
We have fixed the error with the database page size changing.
The fix will be included in the nearest LiteDAC build.

Re: VACUUM give error in DirectMode

Posted: Fri 31 Aug 2012 16:24
by Tarifer
Thanks!
Can you send me patch for testing?

Re: VACUUM give error in DirectMode

Posted: Wed 05 Sep 2012 08:10
by ZEuS
We plan to release a new version of LiteDAC in a few days.
So, you will be able to download and test it soon.