rubyrep 1.0.6 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/History.txt +4 -0
- data/lib/rubyrep/configuration.rb +1 -2
- data/lib/rubyrep/logged_change_loader.rb +2 -1
- data/lib/rubyrep/proxy_connection.rb +0 -4
- data/lib/rubyrep/version.rb +1 -1
- data/sims/performance/big_rep_spec.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +2 -2
- metadata.gz.sig +0 -0
data/History.txt
CHANGED
@@ -122,8 +122,7 @@ module RR
|
|
122
122
|
# Example of an :+after_infrastructure_setup+ handler:
|
123
123
|
# lambda do |session|
|
124
124
|
# [:left, :right].each do |database|
|
125
|
-
# session.send(
|
126
|
-
# "GRANT SELECT, UPDATE, INSERT ON rr_pending_changes TO scott"
|
125
|
+
# session.send(database).execute "GRANT SELECT, UPDATE, INSERT ON rr_pending_changes TO scott"
|
127
126
|
# end
|
128
127
|
# end
|
129
128
|
attr_reader :options
|
@@ -116,7 +116,8 @@ module RR
|
|
116
116
|
:table => change_log_table,
|
117
117
|
:from => {'id' => current_id},
|
118
118
|
:exclude_starting_row => true,
|
119
|
-
:type_cast => true
|
119
|
+
:type_cast => true,
|
120
|
+
:row_buffer_size => session.configuration.options[:row_buffer_size]
|
120
121
|
)
|
121
122
|
while cursor.next?
|
122
123
|
change = cursor.next_row
|
@@ -165,10 +165,6 @@ module RR
|
|
165
165
|
cursors[cursor] = cursor
|
166
166
|
end
|
167
167
|
|
168
|
-
# default number of records that are read into memory at a time during
|
169
|
-
# select queries
|
170
|
-
DEFAULT_ROW_BUFFER_SIZE = 1000
|
171
|
-
|
172
168
|
# Returns a cusor as produced by the #select_cursor method of the connection
|
173
169
|
# extenders.
|
174
170
|
#
|
data/lib/rubyrep/version.rb
CHANGED
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubyrep
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arndt Lehmann
|
@@ -30,7 +30,7 @@ cert_chain:
|
|
30
30
|
NwT26VZnE2nr8g==
|
31
31
|
-----END CERTIFICATE-----
|
32
32
|
|
33
|
-
date: 2009-07-
|
33
|
+
date: 2009-07-26 00:00:00 +09:00
|
34
34
|
default_executable:
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
metadata.gz.sig
CHANGED
Binary file
|