Re: [Firebird-devel] Restoring older database to Firebird 3

2016-02-19 Thread Alex Peshkoff
On 02/19/2016 01:30 PM, Dimitry Sibiryakov wrote: > 19.02.2016 11:26, Alex Peshkoff wrote: >> On 02/19/2016 12:46 PM, Dimitry Sibiryakov wrote: >>> 19.02.2016 10:41, Alex Peshkoff wrote: > GSEC is deprecated, so this won't work in the future. It will not work even in FB3, gsec does NOT und

Re: [Firebird-devel] Restoring older database to Firebird 3

2016-02-19 Thread Dimitry Sibiryakov
19.02.2016 11:26, Alex Peshkoff wrote: > On 02/19/2016 12:46 PM, Dimitry Sibiryakov wrote: >> 19.02.2016 10:41, Alex Peshkoff wrote: GSEC is deprecated, so this won't work in the future. >>> It will not work even in FB3, gsec does NOT understand multiple security >>> DBs. >> Doesn't gsec

Re: [Firebird-devel] Restoring older database to Firebird 3

2016-02-19 Thread Alex Peshkoff
On 02/19/2016 12:46 PM, Dimitry Sibiryakov wrote: > 19.02.2016 10:41, Alex Peshkoff wrote: >>> GSEC is deprecated, so this won't work in the future. >> It will not work even in FB3, gsec does NOT understand multiple security >> DBs. > Doesn't gsec have -database switch exactly for that?.. > No

Re: [Firebird-devel] Array's storage

2016-02-19 Thread Alex Peshkoff
On 02/19/2016 12:40 PM, Dimitry Sibiryakov wrote: > 19.02.2016 10:05, Alex Peshkoff wrote: >> You are wrong. AutoStorage can be used for both on-stack and dynamically >> allocated objects. In the second case MemoryPool& parameter must be >> passed to ctor. > What memory pool can be used to allo

Re: [Firebird-devel] Append error clumplets to IStatus

2016-02-19 Thread Alex Peshkoff
On 02/14/2016 02:32 PM, Dimitry Sibiryakov wrote: > 14.02.2016 7:42, peshk...@mail.ru wrote: >> That will make strings storage less efficient, for details see source code > Do you mean memory fragmentation or reallocation? > reallocation -

Re: [Firebird-devel] Restoring older database to Firebird 3

2016-02-19 Thread Dimitry Sibiryakov
19.02.2016 10:41, Alex Peshkoff wrote: >> GSEC is deprecated, so this won't work in the future. > It will not work even in FB3, gsec does NOT understand multiple security > DBs. Doesn't gsec have -database switch exactly for that?.. -- WBR, SD.

Re: [Firebird-devel] Restoring older database to Firebird 3

2016-02-19 Thread Alex Peshkoff
On 02/08/2016 06:50 PM, Stefan Heymann wrote: >>> Is there a way to restore my database without the need to use another >>> security database? Thereby keeping XYZ as the owner? I don't see there >>> is anything in GBAK that could create the new owner user during the >>> restore. >> Restore it i

Re: [Firebird-devel] Array's storage

2016-02-19 Thread Dimitry Sibiryakov
19.02.2016 10:05, Alex Peshkoff wrote: > You are wrong. AutoStorage can be used for both on-stack and dynamically > allocated objects. In the second case MemoryPool& parameter must be > passed to ctor. What memory pool can be used to allocate objects with undefined life time? -- WBR, SD.

Re: [Firebird-devel] Array's storage

2016-02-19 Thread Alex Peshkoff
On 02/16/2016 04:33 PM, Dimitry Sibiryakov wrote: > Hello, All. > > Do I understand right that because HalfStaticArray is derived from > AutoStorage, it > cannot be used in dynamically allocated objects? > What array class can be used there? > You are wrong. AutoStorage can be used fo