change max key to 512

master
Christopher 2020-07-09 01:09:56 +02:00
parent 0e6e7bbb8e
commit df43e1bab5
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ namespace OpenSim.Modules.DataValue.Storage
{ {
using (MySqlCommand _mysqlCommand = m_mySQLClient.CreateCommand()) 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(); _mysqlCommand.ExecuteNonQuery();
} }
} }