-
Notifications
You must be signed in to change notification settings - Fork 189
Closed
Description
Hi! First I'd like to thank you for developing this gem
Environment
Operating System
ProductName: macOS
ProductVersion: 12.5
BuildVersion: 21G72
TinyTDS Version and Information
2.1.5 (also happens with 2.1.3)
Please paste the full output of `ttds-tsql -C` (or `tsql -C` for older versions
of TinyTDS) here. If TinyTDS does not install, please provide the gem version.
FreeTDS Version
Compile-time settings (established with the "configure" script)
Version: freetds v1.3.13
freetds.conf directory: /opt/homebrew/etc
MS db-lib source compatibility: no
Sybase binary compatibility: yes
Thread safety: yes
iconv library: yes
TDS version: 7.3
iODBC: no
unixodbc: yes
SSPI "trusted" logins: no
Kerberos: yes
OpenSSL: yes
GnuTLS: no
MARS: yes
Description
There's a segmentation fault when one calls dead? after closing the client.
Expected behaviour I'd expect the method to just return true. Even an exception would be acceptable if you think this case is a misuse of the client.
Repro
client = TinyTds::Client.new(<params>)
client.close
client.dead? # <-- Segmentation faultMetadata
Metadata
Assignees
Labels
No labels