[Firebird-devel] [FB-Tracker] Created: (CORE-4388) SELECT WITH LOCK may enter an infinite loop for a single record

2014-04-13 Thread Dmitry Yemanov (JIRA)
SELECT WITH LOCK may enter an infinite loop for a single record --- Key: CORE-4388 URL: http://tracker.firebirdsql.org/browse/CORE-4388 Project: Firebird Core Issue Type: Bug

[Firebird-devel] [FB-Tracker] Created: (CORE-4389) Allow isc_seek on segmented blobs with seekmode absolute (0), and relative(1) with a positive value

2014-04-13 Thread Mark Rotteveel (JIRA)
Allow isc_seek on segmented blobs with seekmode absolute (0), and relative(1) with a positive value Key: CORE-4389 URL: http://tracker.firebirdsql.org/browse/COR

[Firebird-devel] TRA_rollback() and 'force' flag

2014-04-13 Thread Dimitry Sibiryakov
Hello, All. What is the meaning of 'force' parameter for TRA_rollback? Is it license to leave database in inconsistent state: with orphan pages/BLOBs/index nodes for the sake of instant end of transaction? -- WBR, SD. ---

Re: [Firebird-devel] TRA_rollback() and 'force' flag

2014-04-13 Thread Dmitry Yemanov
13.04.2014 19:26, Dimitry Sibiryakov wrote: > > What is the meaning of 'force' parameter for TRA_rollback? > Is it license to leave database in inconsistent state: with orphan > pages/BLOBs/index > nodes for the sake of instant end of transaction? Yes. The state of transaction is consistent (roll

Re: [Firebird-devel] Request savepoints

2014-04-13 Thread Dmitry Yemanov
11.04.2014 18:37, Dimitry Sibiryakov wrote: > > Could anybody explain me the purpose of following piece of code in > VIO_proc_merge_save_point(), please? > >> if ( (sav_point = transaction->tra_save_free) ) { >> transaction->tra_save_free = sav_point->sav_next; >> } >> e

Re: [Firebird-devel] TRA_rollback() and 'force' flag

2014-04-13 Thread Dimitry Sibiryakov
13.04.2014 17:54, Dmitry Yemanov wrote: >> Is it license to leave database in inconsistent state: with orphan >> pages/BLOBs/index >> >nodes for the sake of instant end of transaction? > Yes. The state of transaction is consistent (rolled back via TIP), all > the remainders are a garbage to be col

Re: [Firebird-devel] TRA_rollback() and 'force' flag

2014-04-13 Thread Dmitry Yemanov
13.04.2014 20:05, Dimitry Sibiryakov wrote: > In this case I would say that calling VIO_verb_cleanup() at the beginning is > overkill > because inside it will do slow rollback for each savepoint. VIO_verb_cleanup() rolls back nothing unless sav_verb_count is non-zero. It shouldn't be the case i

Re: [Firebird-devel] TRA_rollback() and 'force' flag

2014-04-13 Thread Dimitry Sibiryakov
13.04.2014 18:53, Dmitry Yemanov wrote: > VIO_verb_cleanup() rolls back nothing unless sav_verb_count is non-zero. > It shouldn't be the case inside TRA_rollback. Ah, you are right, of course. I'm ashamed. -- WBR, SD. ---

[Firebird-devel] [FB-Tracker] Created: (CORE-4390) "BLOB not found" error caused by "exception not defined" exception

2014-04-13 Thread prenosil (JIRA)
"BLOB not found" error caused by "exception not defined" exception -- Key: CORE-4390 URL: http://tracker.firebirdsql.org/browse/CORE-4390 Project: Firebird Core Issue Type: Bug