From df43e1bab5d8a032fb0589613890e9b1e795a862 Mon Sep 17 00:00:00 2001 From: Christopher Date: Thu, 9 Jul 2020 01:09:56 +0200 Subject: [PATCH] change max key to 512 --- src/Storage/MySQL.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Storage/MySQL.cs b/src/Storage/MySQL.cs index fd24ae0..527e113 100644 --- a/src/Storage/MySQL.cs +++ b/src/Storage/MySQL.cs @@ -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(); } }