Warning: undefining the allocator of T_DATA class TinyTds::Result
daveomcd opened this issue · 1 comments
daveomcd commented
Issue
When I'm running rails t
I get a lot of warnings.
/.rbenv/versions/3.2.0/lib/ruby/gems/3.2.0/gems/activerecord-sqlserver-adapter-7.0.1.0/lib/active_record/connection_adapters/sqlserver_adapter.rb:111: warning: undefining the allocator of T_DATA class TinyTds::Result
Expected behavior
I want to silence these warnings to read the console output better when running my tests.
Actual behavior
Run rails t
in a terminal.
Details
- Rails version:
7.0.4.3
- SQL Server adapter version:
7.0.0.0
- TinyTDS version:
2.1.5
- FreeTDS details:
1.3.12
Compile-time settings (established with the "configure" script)
Version: freetds v1.3.12
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.
aidanharan commented
This appears to be a TinyTDS issue with Ruby 3.2 rails-sqlserver/tiny_tds#515