~maria-captains/maria/5.2

Viewing all changes in revision 2643.128.1.

  • Committer: Vladislav Vaintroub
  • Date: 2011-05-04 13:45:39 UTC
  • mto: (2643.127.3 5.1-push)
  • mto: This revision was merged to the branch mainline in revision 2958.
  • Revision ID: wlad@montyprogram.com-20110504134539-4u0n3nm3gmmuii5d
Avoid mtr warning on Windows during startup 

The reason for mtr warning is that collect_mysqld_features() starts mysqld with --datadir=/tmp and this 
directory does not exist on Windows.

Fix : instead of passing --datadir=$opt_vardir/tmp in collect_mysqld_features() just use --datadir=.
mysqld does not need a correct directory, just an existing one, as it is started with --help ---verbose -skip-grant-tables.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: