Ticket #159 (closed defect: fixed)

Opened 4 months ago

Last modified 4 months ago

Subtransaction doesn't set savepoint

Reported by: qelo Assigned to: jtv
Priority: normal Milestone:
Component: transactions Version: 2.6
Severity: normal Keywords:
Cc:

Description

Subtransaction never begins (so doesn't set a savepoint) when I use only prepared statements.

Shouldn't method transaction_base::prepared_exec call Begin() before execution? (just like transaction_base::exec does)

Or maybe some public method to begin transaction should be available? Current solution makes me execute dummy query to begin subtransaction.

I attach code to show my point.

Attachments

Change History

08/28/08 05:57:06 changed by jtv

  • status changed from new to assigned.

You're right, this should be done and it should be generalized similarly to the connection's activate().

08/28/08 07:25:57 changed by jtv

  • status changed from assigned to closed.
  • resolution set to fixed.

Fixed in [1388].


Add/Change #159 (Subtransaction doesn't set savepoint)




Change Properties
Action