diff options
Diffstat (limited to 'OpenSim/Framework/Data.MySQL')
-rw-r--r-- | OpenSim/Framework/Data.MySQL/MySQLAssetData.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Framework/Data.MySQL/MySQLAssetData.cs b/OpenSim/Framework/Data.MySQL/MySQLAssetData.cs index 114538d..aa31d3c 100644 --- a/OpenSim/Framework/Data.MySQL/MySQLAssetData.cs +++ b/OpenSim/Framework/Data.MySQL/MySQLAssetData.cs | |||
@@ -102,6 +102,7 @@ namespace OpenSim.Framework.Data.MySQL | |||
102 | "VALUES(?id, ?name, ?description, ?assetType, ?invType, ?local, ?temporary, ?data)", | 102 | "VALUES(?id, ?name, ?description, ?assetType, ?invType, ?local, ?temporary, ?data)", |
103 | _dbConnection.Connection); | 103 | _dbConnection.Connection); |
104 | 104 | ||
105 | // need to ensure we dispose | ||
105 | using (cmd) | 106 | using (cmd) |
106 | { | 107 | { |
107 | MySqlParameter p = cmd.Parameters.Add("?id", MySqlDbType.Binary, 16); | 108 | MySqlParameter p = cmd.Parameters.Add("?id", MySqlDbType.Binary, 16); |