NAME

DiaColloDB::Upgrade::v0_08_to_v0_09_multimap - DiaColloDB utilities: auto-magic upgrade: v0.08.x -> v0.09.x: MultiMapFile format

SYNOPSIS

##========================================================================
## PRELIMINARIES

use DiaColloDB::Upgrade::v0_08_to_v0_09_multimap;

##========================================================================
## API

$version = $CLASS_OR_OBJECT->toversion();
$bool = $CLASS_OR_OBJECT->needed($coldb);
$bool = $CLASS_OR_OBJECT->upgrade($coldb, \%info);

DESCRIPTION

DiaColloDB::Upgrade::v0_08_to_v0_09_multimap provides a DiaColloDB::Upgrade-compliant package for upgrading a DiaColloDB database directory in-place.

Upgrade actions performed:

  • updates MultiMapFile formats from v0.08.x to v0.09.x

API

toversion
$version = $CLASS_OR_OBJECT->toversion();

returns default target version; default just returns $DiaColloDB::VERSION

needed
$bool = $CLASS_OR_OBJECT->needed($coldb);

returns true iff $coldb needs upgrade

upgrade
$bool = $CLASS_OR_OBJECT->upgrade($coldb, \%info);

performs upgrade

AUTHOR

Bryan Jurish <moocow@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2016 by Bryan Jurish

This package is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.14.2 or, at your option, any later version of Perl 5 you may have available.

SEE ALSO

dcdb-upgrade.perl(1), DiaColloDB::Upgrade::Base(3pm), DiaColloDB::Upgrade(3pm), DiaColloDB(3pm), perl(1), ...