Re: [Firebird-devel] Provider objects has different semantics than y-valve objects

2015-02-25 Thread Alex Peshkoff
On 02/23/15 13:47, Adriano dos Santos Fernandes wrote: On 23/02/2015 07:36, Vlad Khorsun wrote: 22.02.2015 20:11, Adriano dos Santos Fernandes wrote: A solution must be to pass a parameter to destroy methods specifying if they should release or not the object. Must be ? I don't think so.

[Firebird-devel] Sweep in FB3.0

2015-02-25 Thread Ivan Přenosil
Hi, What may be the reason that sweep does not start automatically in FB3 ? I have sweep interval set to 2, and the difference between OIT/OAT is 4. When I connect to similar database using FB2.5 I immediately see SWEEPER in rdb$attachments. Is it just bug or perhaps it depends on some

Re: [Firebird-devel] Provider objects has different semantics than y-valve objects

2015-02-25 Thread Dmitry Yemanov
23.02.2015 13:36, Vlad Khorsun wrote: A solution must be to pass a parameter to destroy methods specifying if they should release or not the object. Must be ? I don't think so. I'm not ready to point to correct solution right now, but additional parameter is not a solution, as for me. I

[Firebird-devel] [FB-Tracker] Created: (CORE-4699) Incorrect processing of DSQL_drop?

2015-02-25 Thread Kovalenko Dmitry (JIRA)
Incorrect processing of DSQL_drop? -- Key: CORE-4699 URL: http://tracker.firebirdsql.org/browse/CORE-4699 Project: Firebird Core Issue Type: Bug Components: API / Client Library Affects

Re: [Firebird-devel] Provider objects has different semantics than y-valve objects

2015-02-25 Thread Dimitry Sibiryakov
25.02.2015 16:20, Dmitry Yemanov wrote: IObject* obj = ... ... obj-something(status); // success ... obj-destroy(status); // detach / commit / cancel / etc ... obj-something(status); // returns bad handle error ... obj-release(); // destroys the object (if use_count reaches zero)

[Firebird-devel] create sequence options

2015-02-25 Thread Dimitry Sibiryakov
Hello, All. Are options for CREATE/ALTER SEQUENCE clause have to be position-fixed by standard or it is allowed to write CREATE SEQUENCE aaa INCREMENT BY 222 START WITH 666? -- WBR, SD. -- Dive into the

Re: [Firebird-devel] create sequence options

2015-02-25 Thread Dmitry Yemanov
25.02.2015 18:55, Dimitry Sibiryakov wrote: Are options for CREATE/ALTER SEQUENCE clause have to be position-fixed by standard or it is allowed to write CREATE SEQUENCE aaa INCREMENT BY 222 START WITH 666? The standard allows flexible positioning of the clauses. Dmitry

Re: [Firebird-devel] Sweep in FB3.0

2015-02-25 Thread Vlad Khorsun
24.02.2015 18:30, Ivan Přenosil wrote: Hi, What may be the reason that sweep does not start automatically in FB3 ? I have sweep interval set to 2, and the difference between OIT/OAT is 4. When I connect to similar database using FB2.5 I immediately see SWEEPER in rdb$attachments.

Re: [Firebird-devel] Provider objects has different semantics than y-valve objects

2015-02-25 Thread Jim Starkey
That's simple. It throws an exception. Or, if you want, it does an automatic rollback (logically correct, but probably more dangerous). Jim Starkey On Feb 25, 2015, at 4:43 PM, Dmitry Yemanov firebi...@yandex.ru wrote: 25.02.2015 23:28, Dimitry Sibiryakov wrote: make release() the

[Firebird-devel] [FB-Tracker] Created: (CORE-4700) Mistake in GDS_DROP_DATABASE?

2015-02-25 Thread Kovalenko Dmitry (JIRA)
Mistake in GDS_DROP_DATABASE? - Key: CORE-4700 URL: http://tracker.firebirdsql.org/browse/CORE-4700 Project: Firebird Core Issue Type: Bug Components: Engine Affects Versions: 2.5.4