We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b25a9d commit 7496611Copy full SHA for 7496611
lib/tiny_tds.rb
@@ -25,7 +25,7 @@
25
end
26
27
add_dll_paths = proc do |paths, &block|
28
- if path = paths.shift
+ if (path = paths.shift)
29
add_dll_path.call(path) do
30
add_dll_paths.call(paths, &block)
31
test/thread_test.rb
@@ -46,7 +46,7 @@ class ThreadTest < TinyTds::TestCase
46
@pool.with do |client|
47
result = client.execute "select dbname()"
48
result.each { |r| puts r }
49
- rescue Exception => _e
+ rescue => _e
50
# We are throwing an error on purpose here since 0.6.1 would
51
# segfault on errors thrown in threads
52
0 commit comments