Skip to content

Conversation

@v-chojas
Copy link
Contributor

@v-chojas v-chojas commented May 7, 2018

The bug:

  • Enable tracing
  • Allocate one env handle, connect, do other ODBC ops
  • Allocate another env handle, free it
  • Tracing stops working with first env handle and its child handles

This change fixes it by adding a reference count to the logging, so it is closed only when no more env handles exist.

@lurcher lurcher merged commit 8656d0f into lurcher:master May 7, 2018
@v-chojas v-chojas deleted the fix-trace-refcount branch May 7, 2018 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants