Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

correctly pass along stderr when doing mysql dumps

  • Loading branch information...
commit 368acf2bc3238f13841d95442307762cb0b2c4f9 1 parent 5019514
@iamcal iamcal authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  index.php
View
2  index.php
@@ -34,7 +34,7 @@ function parse_file($schema, $suffix){
if (isset($db[0])) $dump .= " -h$db[0]";
if (isset($db[2])) $dump .= " -u$db[2]";
if (isset($db[3])) $dump .= " -p$db[3]";
- $dump .= " $db[1] --no-data --no-create-db --compact";
+ $dump .= " $db[1] --no-data --no-create-db --compact 2>&1";
$sed = "sed 's/ AUTO_INCREMENT=[0-9]\\+//'";
Please sign in to comment.
Something went wrong with that request. Please try again.