database_flusher 0.2.1 → 0.2.2
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
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b93093d2e4702c62c77468100a39fceaf158241b
|
|
4
|
+
data.tar.gz: f5730052c7cd40c607aef47a431e3146daa331ab
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2a8653bab04c38ca4785ffad6d812eba8d40beaa227dd0a649a45dfd4babd73bd389ccc6bb190331d674709562e547bf43605076776cd05d713f0a7f18cadf5f
|
|
7
|
+
data.tar.gz: 983debad0e6b4c93067e46336539115a1b8cfeb3c7fdce70850337736bd3a62034bb4bd8626fb1fd8c88b6802896b4805e4a1ad8fcc168e01fbb449e6d946aec
|
|
@@ -13,12 +13,10 @@ module DatabaseFlusher
|
|
|
13
13
|
private
|
|
14
14
|
|
|
15
15
|
def execute_multi(sql)
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
_result = raw_connection.store_result
|
|
21
|
-
end
|
|
16
|
+
_result = raw_connection.query sql
|
|
17
|
+
while raw_connection.next_result
|
|
18
|
+
# just to make sure that all queries are finished
|
|
19
|
+
_result = raw_connection.store_result
|
|
22
20
|
end
|
|
23
21
|
end
|
|
24
22
|
end
|