rdbms_sampler 1.1.1 → 1.2.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d9834c6b4cba2c6c8271f9e8f744e43d1c8350b3465db252fb85b059ea1c93cd
4
- data.tar.gz: feee1ba4541dc3e05eb3697272f0bdb049c5bdfbfa17344ad5b9d58675df5672
3
+ metadata.gz: cdb249cb6d10043125017e9ef67d4e3a95d1f0d56373677c6d2349d414353714
4
+ data.tar.gz: 36b5a596ceb195868cc100236546272f12032c04db07ebbbc3abe6d5eeb53039
5
5
  SHA512:
6
- metadata.gz: 3646c28b02866c51364d89ca2e97b847fe6d1a72bc5904e5085b5eae7267effac3ac185dca8ccda389cdc645359e106324a5a68e5bf3691ac56c9138e2e0116b
7
- data.tar.gz: fa0096829e7bae368a20b934284400aa39fc7c87e1840a39a381d7e970e6032a01422a721ba2d9d0b3cc8b17d130ae57c514191dae71a7ab443167f8ff71073e
6
+ metadata.gz: 1db0b77db897a6f4b53508745f124ae74b373494d51dc4637c2b06994d450b30cd8f5e24c38abddee01cd8c764a8863533d6e5733db518e69e74b5f12def5738
7
+ data.tar.gz: 61d29dfe888659beca428d3985c9adff7d41882154dc9981fc01fec282661555d70dd057b45c12b09a1abd958a61c977767bf3995aeda3c5a00f687b2297975b
data/README.md CHANGED
@@ -17,10 +17,10 @@ the sample is referentially consistent.
17
17
  Installation
18
18
  ------------
19
19
 
20
- Install with `gem install rdbms_sampler`.
20
+ Install with `gem install rdbms_sampler`.
21
21
 
22
- Alternatively, clone the repository and install dependencies with `bundle install`.
23
- Then execute with `bundle exec rdbms_sampler ...`.
22
+ Alternatively, clone the repository and install dependencies with `bundle install`.
23
+ Then execute with `bundle exec rdbms_sampler ...`.
24
24
 
25
25
  Commands
26
26
  --------
@@ -11,6 +11,8 @@ module RdbmsSampler
11
11
  @table_samples = {}
12
12
  @schemas = options[:schemas]
13
13
  @computed = false
14
+ @connection.execute 'SET SESSION TRANSACTION READ ONLY, ISOLATION LEVEL REPEATABLE READ'
15
+ @connection.execute 'START TRANSACTION'
14
16
  end
15
17
 
16
18
  def compute!
@@ -1,3 +1,3 @@
1
1
  module RdbmsSampler
2
- VERSION = "1.1.1"
2
+ VERSION = "1.2.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rdbms_sampler
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christian Rishoj