On 08/06/14 15:39, Dimitry Sibiryakov wrote: > 06.08.2014 13:25, Alex Peshkoff wrote: > >> I know for sure that for example SAS does such things in 2.5. >> May be not simultaneous commit/rollback, but some operations in >> IAttachment - yes, they do. > There is no IAttachment in 2.5.
Certainly not ;) They do it with isc_db_handle. > And no point to do these operations on the same > isc_db_handle from different threads because they will be serialized anyway, > so I would > like to hear their reasoning for such useless action. The answer was: "our driver does it and all other databases support it". Initially fb 2.5 immediately returned an error on the second attempt. But imagine some big task, doing a lot of calculations itself, it has many threads, each of them sometimes needs something from database. Conflict (serialized by DB) is possible, but possibility is very low. Why open >1 attachments in this case? ------------------------------------------------------------------------------ Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel