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 cf751c4 commit c9ef244Copy full SHA for c9ef244
spec/mysql2/result_spec.rb
@@ -124,7 +124,7 @@
124
end
125
126
it "should not yield nil at the end of streaming" do
127
- result = @client.query('SELECT * FROM mysql2_test', :stream => true)
+ result = @client.query('SELECT * FROM mysql2_test', :stream => true, :cache_rows => false)
128
result.each { |r| r.should_not be_nil}
129
130
@@ -148,7 +148,7 @@
148
149
150
client.query "SET net_write_timeout = 1"
151
- res = client.query "SELECT * FROM streamingTest", :stream => true
+ res = client.query "SELECT * FROM streamingTest", :stream => true, :cache_rows => false
152
153
lambda {
154
res.each_with_index do |row, i|
0 commit comments