Subject | Re: [firebird-support] Question about multithread: readonly query in a single transaction |
---|---|
Author | Dimitry Sibiryakov |
Post date | 2018-09-18T10:08:59Z |
17.09.2018 15:50, Marco Andreolli drazde@... [firebird-support] wrote:
--
WBR, SD.
> Is it safe run multiple (only select) query in separated thread using the same transaction?It is safe but it is pointless.
> I should use a different transaction? or even different connection?It depends on what you want.
> PS: fbclient.dll guarantee threading safe operations at transaction or connection level?It serialize all FB API calls on connection level by mutex.
--
WBR, SD.