~ccharles/mysql-sandbox/mysql-sandbox-3-ecosystem

« back to all changes in this revision

Viewing changes to lib/MySQL/Sandbox.pm

  • Committer: Giuseppe Maxia
  • Date: 2010-05-24 20:30:20 UTC
  • Revision ID: g.maxia@gmail.com-20100524203020-fznam8olowxn2363
- Fixed bug in ./clear script. In version 5.5 and bigger, it erased the performance_schema database, which should not be removed. If it exists, its tables are now truncated.
- Fixed bug in ./clear script. The removal of databases was not executed in a clean mode.
- Added a script to install plugins in ./drafts 

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
                    use_env
23
23
                    get_option_file_contents ) ;
24
24
 
25
 
our $VERSION="3.0.09";
 
25
our $VERSION="3.0.11";
26
26
our $DEBUG;
27
27
 
28
28
BEGIN {
128
128
 
129
129
   print $self->credits(),
130
130
          "syntax: $PROGRAM_NAME [options] \n", 
131
 
          $HELP_MSG, 
132
 
        "\nExample:\n",
133
 
        "     $PROGRAM_NAME --my_file=large --sandbox_directory=my_sandbox\n\n";
 
131
          $HELP_MSG; 
 
132
          # This example is only relevant for a single sandbox, but it is
 
133
          # wrong for a multiple sandbox.
 
134
          #, 
 
135
          #"\nExample:\n",
 
136
          #"     $PROGRAM_NAME --my_file=large --sandbox_directory=my_sandbox\n\n";
134
137
 
135
138
    exit(1);
136
139
}