From 3f9611e0ed9ae5221a0e66f42cca0f20aebce018 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Constantino=20V=C3=A1zquez=20Blanco?= Date: Fri, 30 Apr 2010 12:51:28 +0200 Subject: [PATCH] feature #206: VM Template needs to be inserted, not inserted_replaced --- src/vm/VirtualMachine.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vm/VirtualMachine.cc b/src/vm/VirtualMachine.cc index ab28645945..4377192e13 100644 --- a/src/vm/VirtualMachine.cc +++ b/src/vm/VirtualMachine.cc @@ -304,7 +304,7 @@ int VirtualMachine::insert(SqlDB * db) // Insert the template first, so we get a valid template ID. Then the VM // ------------------------------------------------------------------------ - rc = vm_template.insert_replace(db, false); + rc = vm_template.insert(db); if ( rc != 0 ) {