Commit 17166d9f authored by Kirk Webb's avatar Kirk Webb Committed by Mike Hibler

Put back file lost in the shuffle during rebase.

parent 86342092
#
# Add feature/desire marker flags to blockstore virt and physical type tables.
#
use strict;
use libdb;
my $impotent = 0;
sub DoUpdate($$$)
{
my ($dbhandle, $dbname, $version) = @_;
if (!DBSlotExists("external_networks", "vlans")) {
DBQueryFatal("alter table external_networks add ".
" `vlans` tinytext");
DBQueryFatal("UPDATE external_networks SET vlans=".
"CONCAT(CAST(min_vlan as CHAR), \"-\", ".
"CAST(max_vlan as CHAR))");
DBQueryFatal("alter table external_networks drop `min_vlan`");
DBQueryFatal("alter table external_networks drop `max_vlan`");
}
return 0;
}
# Local Variables:
# mode:perl
# End:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment