1. 27 Jul, 2007 1 commit
    • jperkin@production.mysql.com's avatar
      More fixes and cleanups for bug#28585: · d5293e45
      jperkin@production.mysql.com authored
        - make the 'dist-hook' from top-level Makefile work again.
        - we can find my_print_defaults from --basedir by parsing command
          line arguments prior to running my_print_defaults.
        - take advantage of additional command line parsing and allow the
          --no-defaults etc arguments to work anywhere rather than having
          to be the first argument.
        - find SQL files either from binary archive or source install.
        - consolidate and tidy code and error messages.
      d5293e45
  2. 26 Jul, 2007 3 commits
    • jperkin@production.mysql.com's avatar
      mysql_install_db.sh: · d2936fad
      jperkin@production.mysql.com authored
        Fix error in previous change, correct --language argument.
      d2936fad
    • jperkin@production.mysql.com's avatar
    • jperkin@production.mysql.com's avatar
      Clean up the mysql_install_db script to ensure that a sane environment is · 8f87bd60
      jperkin@production.mysql.com authored
      available and reduce the chance of failure.  This should fix bug#28585
      which is caused by the script being quite random in how it finds files it
      requires and not giving very good feedback to the user about what went
      wrong.
      
      Also update make_binary_distribution so that it provides the correct path
      to the required SQL scripts when generating mysql_install_db.  The script
      only previously worked because of the permissive behaviour which looked
      around the current working directory before the "correct" location.  This
      could lead to severe problems if the user happened to run the script from
      a location which contained older or even broken copies of the SQL scripts.
      
      We now require either a complete binary release (and the mysql_install_db
      script ran from inside the extracted archive), or an installed compiled
      tree, as this is the only way we can be sure everything that we need is
      available and ready to run.
      
      While working on this fix, also clean up the mysql_install_db script a lot
      to make it simpler, easier to read, and hopefully less prone to bugs in
      the future.
      8f87bd60
  3. 20 Jul, 2007 4 commits
  4. 19 Jul, 2007 14 commits
  5. 18 Jul, 2007 4 commits
  6. 17 Jul, 2007 14 commits