Add lib/, t/lib/, and sandbox/. All modules are updated and passing on MySQL 5.1.

This commit is contained in:
Daniel Nichter
2011-06-24 11:22:06 -06:00
parent 01e0175ad9
commit 6c501128e6
567 changed files with 335952 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
OptionParser.t parses command line options. For more details, please use the --help option, or try 'perldoc $PROGRAM_NAME' for complete documentation.
Usage: $PROGRAM_NAME [OPTIONS]
Options:
--defaults-file=s -F alignment test
--[no]defaultset alignment test with a very long thing that is longer
than 80 characters wide and must be wrapped
--dog=s -D Dogs are fun
--[no]foo Foo
--love -l And peace
Option types: s=string, i=integer, f=float, h/H/a/A=comma-separated list, d=DSN, z=size, m=time
Options and values after processing arguments:
--defaults-file (No value)
--defaultset FALSE
--dog (No value)
--foo FALSE
--love 0

View File

@@ -0,0 +1,14 @@
OptionParser.t parses command line options. For more details, please use the --help option, or try 'perldoc $PROGRAM_NAME' for complete documentation.
Usage: $PROGRAM_NAME <options>
Options:
--database=s -D Specify the database for all tables
--[no]nouniquechecks Set UNIQUE_CHECKS=0 before LOAD DATA INFILE
Option types: s=string, i=integer, f=float, h/H/a/A=comma-separated list, d=DSN, z=size, m=time
Options and values after processing arguments:
--database (No value)
--nouniquechecks FALSE

View File

@@ -0,0 +1,18 @@
OptionParser.t parses command line options. For more details, please use the --help option, or try 'perldoc $PROGRAM_NAME' for complete documentation.
Usage: $PROGRAM_NAME <options>
Options:
--ignore -i Use IGNORE for INSERT statements
--replace -r Use REPLACE instead of INSERT statements
Option types: s=string, i=integer, f=float, h/H/a/A=comma-separated list, d=DSN, z=size, m=time
Rules:
--ignore and --replace are mutually exclusive.
Options and values after processing arguments:
--ignore FALSE
--replace FALSE

View File

@@ -0,0 +1,16 @@
OptionParser.t parses command line options. For more details, please use the --help option, or try 'perldoc $PROGRAM_NAME' for complete documentation.
Usage: $PROGRAM_NAME <options>
Options:
--bar=m Time. Optional suffix s=seconds, m=minutes, h=hours, d=days; if no
suffix, m is used.
--foo=m Time. Optional suffix s=seconds, m=minutes, h=hours, d=days; if no
suffix, s is used.
Option types: s=string, i=integer, f=float, h/H/a/A=comma-separated list, d=DSN, z=size, m=time
Options and values after processing arguments:
--bar (No value)
--foo (No value)

View File

@@ -0,0 +1,33 @@
OptionParser.t parses command line options. For more details, please use the --help option, or try 'perldoc $PROGRAM_NAME' for complete documentation.
Usage: $PROGRAM_NAME <options>
Options:
--bar=d DSN bar
--foo=d DSN foo
Option types: s=string, i=integer, f=float, h/H/a/A=comma-separated list, d=DSN, z=size, m=time
Rules:
DSN values in --foo default to values in --bar if COPY is yes.
DSN syntax is key=value[,key=value...] Allowable DSN keys:
KEY COPY MEANING
=== ==== =============================================
A yes Default character set
D yes Database to use
F yes Only read default options from the given file
P yes Port number to use for connection
S yes Socket file to use for connection
h yes Connect to host
p yes Password to use when connecting
u yes User for login if not current user
If the DSN is a bareword, the word is treated as the 'h' key.
Options and values after processing arguments:
--bar (No value)
--foo (No value)

View File

@@ -0,0 +1,33 @@
OptionParser.t parses command line options. For more details, please use the --help option, or try 'perldoc $PROGRAM_NAME' for complete documentation.
Usage: $PROGRAM_NAME <options>
Options:
--bar=d DSN bar
--foo=d DSN foo
Option types: s=string, i=integer, f=float, h/H/a/A=comma-separated list, d=DSN, z=size, m=time
Rules:
DSN values in --foo default to values in --bar if COPY is yes.
DSN syntax is key=value[,key=value...] Allowable DSN keys:
KEY COPY MEANING
=== ==== =============================================
A yes Default character set
D yes Database to use
F yes Only read default options from the given file
P yes Port number to use for connection
S yes Socket file to use for connection
h yes Connect to host
p yes Password to use when connecting
u yes User for login if not current user
If the DSN is a bareword, the word is treated as the 'h' key.
Options and values after processing arguments:
--bar D=DB,h=localhost,u=USER
--foo D=DB,h=otherhost,u=USER

View File

@@ -0,0 +1,20 @@
OptionParser.t parses command line options. For more details, please use the --help option, or try 'perldoc $PROGRAM_NAME' for complete documentation.
Usage: $PROGRAM_NAME <options>
Options:
--books=a -b books optional
--columns=H -C cols required
--databases=A -d databases required
--foo=A foo (default a,b,c)
--tables=h -t tables optional
Option types: s=string, i=integer, f=float, h/H/a/A=comma-separated list, d=DSN, z=size, m=time
Options and values after processing arguments:
--books o,p
--columns a,b
--databases f,g
--foo a,b,c
--tables d,e

View File

@@ -0,0 +1,42 @@
OptionParser.t parses command line options. For more details, please use the --help option, or try 'perldoc $PROGRAM_NAME' for complete documentation.
Usage: $PROGRAM_NAME <options>
Options:
--algorithm=s Checksum algorithm (ACCUM|CHECKSUM|BIT_XOR)
--schema Checksum SHOW CREATE TABLE intead of table data
Connection:
--defaults-file=s -F Only read mysql options from the given file
Filter:
--databases=h -d Only checksum this comma-separated list of databases
Help:
--explain-hosts Explain hosts
--help Show help and exit
--version Show version and exit
Output:
--tab Print tab-separated output, not column-aligned output
Option types: s=string, i=integer, f=float, h/H/a/A=comma-separated list, d=DSN, z=size, m=time
Rules:
--schema is restricted to option groups Connection, Filter, Output, Help.
Options and values after processing arguments:
--algorithm (No value)
--databases (No value)
--defaults-file (No value)
--explain-hosts FALSE
--help FALSE
--schema FALSE
--tab FALSE
--version FALSE

View File

@@ -0,0 +1,15 @@
OptionParser.t parses command line options. For more details, please use the --help option, or try 'perldoc $PROGRAM_NAME' for complete documentation.
Usage: $PROGRAM_NAME <options>
Options:
--cat=A cat option (default a,b)
--config=A Read this comma-separated list of config files (must be the first
option on the command line).
Option types: s=string, i=integer, f=float, h/H/a/A=comma-separated list, d=DSN, z=size, m=time
Options and values after processing arguments:
--cat a,b
--config /etc/maatkit/maatkit.conf,/etc/maatkit/OptionParser.t.conf,$ENV{HOME}/.maatkit.conf,$ENV{HOME}/.OptionParser.t.conf

View File

@@ -0,0 +1,15 @@
OptionParser.t parses command line options. For more details, please use the --help option, or try 'perldoc $PROGRAM_NAME' for complete documentation.
Usage: $PROGRAM_NAME <options>
Options:
--cat cat option
--config=A Read this comma-separated list of config files (must be the first
option on the command line).
Option types: s=string, i=integer, f=float, h/H/a/A=comma-separated list, d=DSN, z=size, m=time
Options and values after processing arguments:
--cat TRUE
--config $trunk/t/lib/samples/empty