Commit ae15ba4b authored by Leigh B Stoller's avatar Leigh B Stoller

Minor fix to emulab_locks table.

parent 44fa1cab
......@@ -470,7 +470,7 @@ CREATE TABLE `emulab_indicies` (
DROP TABLE IF EXISTS `emulab_locks`;
CREATE TABLE `emulab_locks` (
`name` varchar(64) NOT NULL default '',
`value` int(10) unsigned NOT NULL default '0',
`value` int(10) NOT NULL default '0',
PRIMARY KEY (`name`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
......
#
# Fix emulab_locks table.
#
use strict;
use libdb;
sub DoUpdate($$$)
{
DBQueryFatal("alter table emulab_locks change `value` `value` ".
" int(10) NOT NULL default '0'");
return 0;
}
1;
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