mysql-partitioner 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dba04134b4d190b8c7f19da8e026d3fbd5f2e591
4
- data.tar.gz: 815d422aae033d0bc0fe56a5326a231d9eae99ce
3
+ metadata.gz: 46dec107946e0a38ecd8e3a4e9dff82bbf359452
4
+ data.tar.gz: f0a7fa7bee0fa11e911364dcb5b96b5f9837d0f4
5
5
  SHA512:
6
- metadata.gz: bee2b105025933273c7a42d2b0d2079f9728afbccca26918b35717f118a17856a01703d184515d57dc80786a2af0ceba07aa7d5ad033909a8eee49b3b16a61ec
7
- data.tar.gz: 5cc8f61e685880df9fd0a758c3f81cfaaf8bb3b2423f032f9643cb03892b425b016de6839eb3e9a8b04a517290a28442359ec11721e4556a66090d6db8ce0f4c
6
+ metadata.gz: 8249dc0a3087e3c1236346aacefac5f97c328c1f1424a804815ac04996c6d5c4c2cbd6ae95c3a10588e4f654f494caaa12e3af3c0ab6779b3cf4bd785ac54e10
7
+ data.tar.gz: 8791e02033920ca13a404efd09dcadce456a88193d12e5ccc079dca604fb2dd1fc88d39bd3bd2d07fb3084badea5c1dc371ce09d1ae863b78826e544670cf838
@@ -18,7 +18,7 @@ module Mysql
18
18
  def get_current_partitions
19
19
  results = self.session.query(<<SQL)
20
20
  SELECT PARTITION_EXPRESSION, PARTITION_DESCRIPTION, PARTITION_ORDINAL_POSITION, PARTITION_METHOD, SUBPARTITION_EXPRESSION
21
- FROM INFORMATION_SCHEMA.PARTITIONS WHERE TABLE_NAME="#{ self.table }" AND TABLE_SCHEMA="#{ self.database } ORDER BY PARTITION_ORDINAL_POSITION ASC"
21
+ FROM INFORMATION_SCHEMA.PARTITIONS WHERE TABLE_NAME="#{ self.table }" AND TABLE_SCHEMA="#{ self.database }" ORDER BY PARTITION_ORDINAL_POSITION ASC
22
22
  SQL
23
23
  results.map {|item|
24
24
  Mysql::Partitioner::Partition::Range.new(item["PARTITION_DESCRIPTION"])
@@ -1,5 +1,5 @@
1
1
  module Mysql
2
2
  module Partitioner
3
- VERSION = "0.1.3"
3
+ VERSION = "0.1.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mysql-partitioner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - maedama