You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -25,9 +45,11 @@ public function getProcess($sql)
25
45
'--user=' . $this->databaseConfiguration['user'],
26
46
'-p' . $this->databaseConfiguration['password'],
27
47
'--binary-mode', // 'It also disables all mysql commands except charset and delimiter in non-interactive mode (for input piped to mysql or loaded using the source command)'
28
-
'--execute=' . $sql,
29
48
// $dbname
30
49
];
50
+
if (!$isFile) {
51
+
$options[] = '--execute=' . $sqlOrFilename;
52
+
}
31
53
$env = [
32
54
// problematic when wrapping the process in a call to `time`...
0 commit comments