Skip to content

When a transaction has been explicitly started, then connection is disconnected, the transaction gets auto committed #24

Closed

Description

@kadishmal

Migrated from http://jira.cubrid.org/browse/APIS-582.

Need to investigate the following behavior.

  1. Connect to db.
  2. beginTranscation.
  3. Do some writes.
  4. Close connection without explicitly committing the dirty writes.
  5. node-cubrid in this case auto commits the changes.

Question: should it auto commit or should it auto rollback?

Activity

  1. self-assigned this
    on Feb 1, 2015
  2. added this to the v2.1.0 milestone on Feb 1, 2015
  3. kadishmal commented on Feb 1, 2015

    @kadishmal
    ContributorAuthor

    node-cubrid correctly rolls back when connection is closed without explicitly committing an open transaction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions