Skip to content

Update OpenSSL and FreeTDS #585

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 28, 2025
Merged

Conversation

andyundso
Copy link
Member

Both updates do not appear to really have an influence on our code. The error message when the connections times out on Windows (and Windows only) seem to have changed lightly.

@@ -65,7 +65,7 @@ class ThreadTest < TinyTds::TestCase
result = client.execute "waitfor delay '00:00:#{delay}'; select db_name()"
result.each { |r| puts r }
rescue TinyTds::Error => e
if e.message == "Adaptive Server connection timed out"
if e.message.include?("connection timed out")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the new error message?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is TDS server timeout on Windows, but still Adaptive Server on Linux.

@andyundso andyundso merged commit 15f1934 into rails-sqlserver:master May 28, 2025
115 checks passed
@andyundso andyundso deleted the updates branch May 28, 2025 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants