1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-20 10:50:08 +03:00

feature-#206: Rolling back augmented mad name size, mysql index cannot be over 1000 bytes

This commit is contained in:
Constantino Vázquez Blanco 2010-05-04 18:52:04 +02:00
parent 0981af4673
commit e9ba339e2b

View File

@ -57,7 +57,7 @@ const char * Host::db_names = "(oid,host_name,state,im_mad,vm_mad,"
const char * Host::db_bootstrap = "CREATE TABLE host_pool ("
"oid INTEGER PRIMARY KEY,host_name VARCHAR(512), state INTEGER,"
"im_mad VARCHAR(256),vm_mad VARCHAR(256),tm_mad VARCHAR(256),"
"im_mad VARCHAR(128),vm_mad VARCHAR(128),tm_mad VARCHAR(128),"
"last_mon_time INTEGER, UNIQUE(host_name, im_mad, vm_mad, tm_mad) )";
/* ------------------------------------------------------------------------ */