1. 15 Sep, 2016 1 commit
  2. 08 Aug, 2016 1 commit
  3. 03 Jun, 2015 1 commit
  4. 20 May, 2015 1 commit
  5. 07 May, 2015 1 commit
  6. 04 May, 2015 1 commit
  7. 22 Apr, 2015 1 commit
  8. 17 Apr, 2015 9 commits
  9. 16 Apr, 2015 2 commits
    • anarcat's avatar
      fix comment typo · b4bace58
      anarcat authored
      b4bace58
    • anarcat's avatar
      handle mysqldump errors again · 79092eee
      anarcat authored
      we rewrite the dump code completely, stealing bits from
      safe_shell_exec() for the DB credentials, to directly do the search
      and replace of certain patterns ourselves. this simplifies the
      pipeline and should also improve performance (because we avoid forking
      sed twice), unless some memory leaks exist in PHP (which is quite
      possible). we process the dump one line at a time so memory usage
      shouldn't be higher.
      
      the previous code would not catch errors from mysqldump because the
      "sed" pipeline would succeed and therefore hide error from earlier in
      the pipeline. we would need "set -o pipefail" in bash to workaround
      this issue, but that is not portable and, let's be honest, there
      already enough crap here as it is to warrant a cleanup.
      
      previous attempt at fixing this issue (#2098289) are sometimes
      unsuccesful because some dumps fail later than 1024 bytes. we still
      keep that check just in case.
      
      the bug (#1324466) was introduced in 571b63de, present since the 1.1
      release.
      
      this should be refactored to make safe_shell_exec() allow for a hook
      to modify the dumpfile inline, but for now i just wanted to port a
      working prototype in place.
      79092eee
  10. 27 Dec, 2014 1 commit
  11. 18 Dec, 2014 1 commit
  12. 15 Oct, 2014 2 commits
  13. 16 Dec, 2013 1 commit
  14. 28 Sep, 2013 1 commit
  15. 02 Aug, 2013 1 commit
  16. 08 Jul, 2013 1 commit
  17. 14 Mar, 2013 1 commit
  18. 10 Mar, 2013 2 commits
  19. 11 Sep, 2012 1 commit
  20. 24 Aug, 2012 1 commit
  21. 13 May, 2012 2 commits
  22. 29 Apr, 2012 1 commit
  23. 05 Mar, 2012 4 commits
  24. 11 Nov, 2011 2 commits