~linuxjedi/drizzle/elliott-bug-653300

« back to all changes in this revision

Viewing changes to tests/test-run.pl

  • Committer: lbieber
  • Date: 2010-09-26 03:23:39 UTC
  • mfrom: (1793.1.1 build)
  • Revision ID: lbieber@orisndriz08-20100926032339-59p5xxhkloa09759
Merge Monty - Beginning of catalog support, adds a default local catalog. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1796
1796
  # Create new data dirs
1797
1797
  foreach my $data_dir (@data_dir_lst)
1798
1798
  {
1799
 
    mkpath("$data_dir/mysql");
1800
 
    system("$exe_schemawriter mysql $data_dir/mysql/db.opt");
 
1799
    mkpath("$data_dir/local/mysql");
 
1800
    system("$exe_schemawriter mysql $data_dir/local/mysql/db.opt");
1801
1801
 
1802
 
    mkpath("$data_dir/test");
1803
 
    system("$exe_schemawriter test $data_dir/test/db.opt");
 
1802
    mkpath("$data_dir/local/test");
 
1803
    system("$exe_schemawriter test $data_dir/local/test/db.opt");
1804
1804
  }
1805
1805
 
1806
1806
  # Make a link std_data_ln in var/ that points to std_data
2037
2037
 
2038
2038
  if ($max_master_num > 1)
2039
2039
  {
2040
 
    copy_install_db('master', $master->[1]->{'path_myddir'});
 
2040
    copy_install_db('master', $master->[1]->{'path_myddir'} . "/local");
2041
2041
  }
2042
2042
 
2043
2043
  # Install the number of slave databses needed