Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds the spatial index type #61

Open
wants to merge 21 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions bin/mysqldiff
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ non-interactively patch database1 to match database2

enable debugging [level N, default 1]

=item C<-e, --events>

include mysql events

=item C<-l, --list-tables>

output the list off all used tables
Expand All @@ -93,6 +97,10 @@ don't output DROP TABLE commands

don't output DROP COLUMN commands

=item C<-E, --keep-old-events>

don't output DROP EVENT commands

=item C<-n, --no-old-defs>

suppress comments describing old definitions
Expand Down Expand Up @@ -206,9 +214,9 @@ use String::ShellQuote qw(shell_quote);
use MySQL::Diff;

my %opts = ();
GetOptions(\%opts, "help|?", "debug|d:i", "apply|A", "batch-apply|B",
"keep-old-tables|k", "keep-old-columns|c", "no-old-defs|n",
"only-both|o", "table-re|t=s",
GetOptions(\%opts, "help|?", "debug|d:i", "events|e", "apply|A", "batch-apply|B",
"keep-old-tables|k", "keep-old-columns|c", "keep-old-events|E",
"no-old-defs|n", "only-both|o", "table-re|t=s",
"host|h=s", "port|P=s", "socket|s=s", "user|u=s", "password|p:s",
"host1=s", "port1=s", "socket1=s", "user1=s", "password1:s",
"host2=s", "port2=s", "socket2=s", "user2=s", "password2:s",
Expand Down Expand Up @@ -245,10 +253,12 @@ Options:
-A, --apply interactively patch database1 to match database2
-B, --batch-apply non-interactively patch database1 to match database2
-d, --debug[=N] enable debugging [level N, default 1]
-e, --events output mysql events
-l, --list-tables output the list off all used tables
-o, --only-both only output changes for tables in both databases
-k, --keep-old-tables don't output DROP TABLE commands
-c, --keep-old-columns don't output DROP COLUMN commands
-E, --keep-old-events don't output DROP EVENT commands
-n, --no-old-defs suppress comments describing old definitions
-t, --table-re=REGEXP restrict comparisons to tables matching REGEXP
-i, --tolerant ignore DEFAULT, AUTO_INCREMENT, COLLATE, and formatting changes
Expand Down
Loading