mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-09 14:03:20 +09:00
feature-#206: Rolling back augmented mad name size, mysql index cannot be over 1000 bytes
This commit is contained in:
1 parent
0981af4673
commit
e9ba339e2b
1 file changed
+1
-1
+1
-1
@@ -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) )";
|
||||
|
||||
/* ------------------------------------------------------------------------ */
|
||||
|
||||
Reference in new issue
Block a user