++ed by:
MOCNII

1 PAUSE user

Masayuki Matsuki

NAME

MySQL::Partition::Type::Range - subclass of MySQL::Partition for range partition

DESCRIPTION

Subclass of MySQL::Partition for manipulating range partitions.

INTERFACE

This class has extra constructor options and methods in other than base class.

Constructor Options

catch_all_partition_name

Catch-all partition name for the statement like PARTITION pmax VALUES LESS THAN MAXVALUE. pmax is catch-all partition name in the above case.

Methods

$range_partition->add_catch_all_partition

Add catch all partition.

prepare_add_catch_all_partition method is also available.

$range_partition->reorganize_catch_all_partition

The MySQL table which have catch-all partition can't be added new partition. In this case, we can use ALTER TABLE REORGANIZE PARTITION ... and this method issuance and execute the SQL statements.

prepare_reorganize_catch_all_partition method is also available.

LICENSE

Copyright (C) Songmu.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

Songmu <y.songmu@gmail.com>