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 +4 -4
- data/lib/mysql/partitioner/operation/range.rb +1 -1
- data/lib/mysql/partitioner/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 46dec107946e0a38ecd8e3a4e9dff82bbf359452
|
4
|
+
data.tar.gz: f0a7fa7bee0fa11e911364dcb5b96b5f9837d0f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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"])
|