Re: [Firebird-devel] System tables changes in read only databases

2015-07-30 Thread Adriano dos Santos Fernandes
On 30/07/2015 13:22, Vlad Khorsun wrote: > 30.07.2015 19:01, Adriano dos Santos Fernandes пишет: >> Hi! >> >> I purposely put a MODIFY of system tables in epp file without >> considering dbb->readOnly() flag. >> >> And it worked (changed the database) and committed the change. >> >> Shouldn't that

Re: [Firebird-devel] System tables changes in read only databases

2015-07-30 Thread Vlad Khorsun
30.07.2015 19:32, Dimitry Sibiryakov wrote: > What's the point to have system transaction read-write? I will celebrate when (if) it will be readonly. Regards, Vlad -- Firebird-Devel mailing list, web interface at

Re: [Firebird-devel] System tables changes in read only databases

2015-07-30 Thread Jim Starkey
On 7/30/2015 12:06 PM, Claudio Valderrama C. wrote: >> I purposely put a MODIFY of system tables in epp file without >> considering dbb->readOnly() flag. >> >> And it worked (changed the database) and committed the change. >> >> Shouldn't that be prevent in lower layers? > Ideally, the low level la

Re: [Firebird-devel] System tables changes in read only databases

2015-07-30 Thread Dimitry Sibiryakov
30.07.2015 18:22, Vlad Khorsun wrote: > To be serious, it also prevents on TRA layer - when you start transaction > at read-only database, engine adds TRA_readonly flag to it. But you run > MODIFY in system transaction and bypass this barrier. > > BTW, it seems we could add more safety movi

Re: [Firebird-devel] System tables changes in read only databases

2015-07-30 Thread Vlad Khorsun
30.07.2015 19:01, Adriano dos Santos Fernandes пишет: > Hi! > > I purposely put a MODIFY of system tables in epp file without > considering dbb->readOnly() flag. > > And it worked (changed the database) and committed the change. > > Shouldn't that be prevent in lower layers? > > Then I chmod -w the

Re: [Firebird-devel] System tables changes in read only databases

2015-07-30 Thread Claudio Valderrama C.
> -Original Message- > From: Adriano dos Santos Fernandes [mailto:adrian...@gmail.com] > Sent: Jueves, 30 de Julio de 2015 13:02 > > Hi! > > I purposely put a MODIFY of system tables in epp file without > considering dbb->readOnly() flag. > > And it worked (changed the database) and com

[Firebird-devel] System tables changes in read only databases

2015-07-30 Thread Adriano dos Santos Fernandes
Hi! I purposely put a MODIFY of system tables in epp file without considering dbb->readOnly() flag. And it worked (changed the database) and committed the change. Shouldn't that be prevent in lower layers? Then I chmod -w the database. Then it fails at commit time with: Statement failed, SQLST