Commit 547a94e3 authored by Leigh Stoller's avatar Leigh Stoller

Minor bug fix.

parent afc987a4
......@@ -148,7 +148,7 @@ sub DoUpdate($$$)
" KEY `uuid` (`uuid`) ".
") ENGINE=MyISAM DEFAULT CHARSET=latin1");
DBQueryFatal("insert into images select imagename,version,imageid, ".
" pid,pid_idx,gid,gid_idx,uuid,locked,locker_pid ".
" pid,pid_idx,gid,gid_idx,uuid,0,locked,locker_pid ".
" from image_versions");
DBQueryFatal("update image_versions set uuid=uuid()");
}
......
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