Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-1890

Add nil client check when verifying transaction status in (Operation).Execute

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.4.7
    • Affects Version/s: None
    • Component/s: None
    • None
    • Not Needed

      If an Operation is constructed with a nil client and then executed, it's possible to panic in a couple spots when verifying if the Operation is in a transaction:

      • For a WriteCommandError here
      • For a normal Error here

            Assignee:
            benji.rewis@mongodb.com Benji Rewis (Inactive)
            Reporter:
            evgeni.dobranov@mongodb.com Evgeni Dobranov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: