@@ -96,9 +96,8 @@ public function cleanup()
96
96
97
97
$ this ->ensureDefaultsExtraFile ();
98
98
$ this ->_shell ->execute (
99
- ' %s --defaults-file=%s --host=%s --port=%s %s -e %s' ,
99
+ " ` { $ dbCommand } ` --defaults-file=%s --host=%s --port=%s %s -e %s" ,
100
100
[
101
- $ dbCommand ,
102
101
$ this ->_defaultsExtraFile ,
103
102
$ this ->_host ,
104
103
$ this ->_port ,
@@ -147,7 +146,7 @@ public function storeDbDump()
147
146
148
147
$ format = sprintf (
149
148
'%s %s %s %s ' ,
150
- ' %s --defaults-file=%s --host=%s --port=%s' ,
149
+ " ` { $ dumpCommand } ` --defaults-file=%s --host=%s --port=%s" ,
151
150
'--no-tablespaces ' ,
152
151
implode (' ' , $ additionalArguments ),
153
152
'%s > %s '
@@ -156,7 +155,6 @@ public function storeDbDump()
156
155
$ this ->_shell ->execute (
157
156
$ format ,
158
157
[
159
- $ dumpCommand ,
160
158
$ this ->_defaultsExtraFile ,
161
159
$ this ->_host ,
162
160
$ this ->_port ,
@@ -181,8 +179,8 @@ public function restoreFromDbDump()
181
179
$ dbCommand = $ this ->getDbCommand ();
182
180
183
181
$ this ->_shell ->execute (
184
- ' %s --defaults-file=%s --host=%s --port=%s %s < %s' ,
185
- [$ dbCommand , $ this ->_defaultsExtraFile , $ this ->_host , $ this ->_port ,
182
+ " ` { $ dbCommand } ` --defaults-file=%s --host=%s --port=%s %s < %s" ,
183
+ [$ this ->_defaultsExtraFile , $ this ->_host , $ this ->_port ,
186
184
$ this ->_schema , $ this ->getSetupDbDumpFilename ()]
187
185
);
188
186
}
0 commit comments