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

bug #287: Fixed wrong size for leases in mysql

This commit is contained in:
Ruben S. Montero 2010-07-20 17:35:27 +02:00
parent 51eedd87d9
commit 7e92b75b80

View File

@ -251,7 +251,7 @@ const char * Leases::table = "leases";
const char * Leases::db_names = "(oid,ip,mac_prefix,mac_suffix,vid,used)";
const char * Leases::db_bootstrap = "CREATE TABLE IF NOT EXISTS leases ("
"oid INTEGER,ip BIGINT, mac_prefix INTEGER,mac_suffix INTEGER,"
"oid INTEGER, ip BIGINT, mac_prefix BIGINT, mac_suffix BIGINT,"
"vid INTEGER, used INTEGER, PRIMARY KEY(oid,ip))";
/* -------------------------------------------------------------------------- */