Commit c0a957c9 authored by Kirk Webb's avatar Kirk Webb

Add 'fixed' column to 'virt_blockstores' table.

parent 734a1c44
......@@ -4365,6 +4365,7 @@ CREATE TABLE `virt_blockstores` (
`type` varchar(30) default NULL,
`role` enum('remote','local','unknown') NOT NULL default 'unknown',
`size` int(10) unsigned NOT NULL default '0',
`fixed` text NOT NULL,
PRIMARY KEY (`exptidx`,`vname`)
# Add `fixed` column to the virt_blockstores table.
use strict;
use libdb;
sub DoUpdate($$$)
my ($dbhandle, $dbname, $version) = @_;
if (!DBSlotExists("virt_blockstores", "fixed")) {
DBQueryFatal("alter table virt_blockstores add ".
" `fixed` text NOT NULL");
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