change max key to 512
parent
0e6e7bbb8e
commit
df43e1bab5
|
@ -124,7 +124,7 @@ namespace OpenSim.Modules.DataValue.Storage
|
|||
{
|
||||
using (MySqlCommand _mysqlCommand = m_mySQLClient.CreateCommand())
|
||||
{
|
||||
_mysqlCommand.CommandText = "CREATE TABLE IF NOT EXISTS `StorageData` (`StorageID` VARCHAR(36) NOT NULL, `StorageKey` VARCHAR(256) NOT NULL, `StorageData` TEXT NOT NULL DEFAULT '', PRIMARY KEY(`StorageID`, `StorageKey`)) COLLATE = 'utf8_general_ci'; ";
|
||||
_mysqlCommand.CommandText = "CREATE TABLE IF NOT EXISTS `StorageData` (`StorageID` VARCHAR(36) NOT NULL, `StorageKey` VARCHAR(512) NOT NULL, `StorageData` TEXT NOT NULL DEFAULT '', PRIMARY KEY(`StorageID`, `StorageKey`)) COLLATE = 'utf8_general_ci'; ";
|
||||
_mysqlCommand.ExecuteNonQuery();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue