dm-metamapper 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
@@ -82,9 +82,9 @@ DBFace::select(const vector<string>& tables,
|
|
82
82
|
}
|
83
83
|
catch (const mysqlpp::Exception& er) {
|
84
84
|
logError(er.what());
|
85
|
-
if (
|
86
|
-
connect();
|
85
|
+
if (string(er.what()) == string("MySQL server has gone away")){
|
87
86
|
sleep(10);
|
87
|
+
connect();
|
88
88
|
}
|
89
89
|
return false;
|
90
90
|
}
|
@@ -118,7 +118,7 @@ DBFace::count(const vector<string>& tables,
|
|
118
118
|
}
|
119
119
|
catch (const mysqlpp::Exception& er) {
|
120
120
|
logError(er.what());
|
121
|
-
if (
|
121
|
+
if (string(er.what()) == string("MySQL server has gone away")){
|
122
122
|
connect();
|
123
123
|
sleep(10);
|
124
124
|
}
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dm-metamapper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 11
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 8
|
10
|
+
version: 0.1.8
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jonah Honeyman
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2011-
|
19
|
+
date: 2011-04-12 00:00:00 +03:00
|
20
20
|
default_executable:
|
21
21
|
dependencies: []
|
22
22
|
|