aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL/MySQLAssetData.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-05-01 13:27:40 +0000
committerJustin Clarke Casey2008-05-01 13:27:40 +0000
commitd72bdf432a622f237b3030c1da9d1bccca20f83c (patch)
tree80b72df740a2858ac9ca8c3707ef45ff81488f67 /OpenSim/Data/MySQL/MySQLAssetData.cs
parent* Change mysql inventory items table version 3 upgrade sql to provide explici... (diff)
downloadopensim-SC_OLD-d72bdf432a622f237b3030c1da9d1bccca20f83c.zip
opensim-SC_OLD-d72bdf432a622f237b3030c1da9d1bccca20f83c.tar.gz
opensim-SC_OLD-d72bdf432a622f237b3030c1da9d1bccca20f83c.tar.bz2
opensim-SC_OLD-d72bdf432a622f237b3030c1da9d1bccca20f83c.tar.xz
* Align new fields upgrade sql to have the same 'not null' and default settings as when an inventoryitems table is newly created
* Normalize logging titles in database code, though this doesn't yet cover invoking code
Diffstat (limited to '')
-rw-r--r--OpenSim/Data/MySQL/MySQLAssetData.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Data/MySQL/MySQLAssetData.cs b/OpenSim/Data/MySQL/MySQLAssetData.cs
index b4a9191..efcf59e 100644
--- a/OpenSim/Data/MySQL/MySQLAssetData.cs
+++ b/OpenSim/Data/MySQL/MySQLAssetData.cs
@@ -49,7 +49,7 @@ namespace OpenSim.Data.MySQL
49 // null as the version, indicates that the table didn't exist 49 // null as the version, indicates that the table didn't exist
50 if (oldVersion == null) 50 if (oldVersion == null)
51 { 51 {
52 m_log.Info("[ASSETS]: Creating new database tables"); 52 m_log.Info("[ASSETS DB]: Creating new database tables");
53 _dbConnection.ExecuteResourceSql("CreateAssetsTable.sql"); 53 _dbConnection.ExecuteResourceSql("CreateAssetsTable.sql");
54 return; 54 return;
55 } 55 }
@@ -102,7 +102,7 @@ namespace OpenSim.Data.MySQL
102 catch (Exception e) 102 catch (Exception e)
103 { 103 {
104 m_log.ErrorFormat( 104 m_log.ErrorFormat(
105 "[ASSETS]: MySql failure fetching asset {0}" + Environment.NewLine + e.ToString() 105 "[ASSETS DB]: MySql failure fetching asset {0}" + Environment.NewLine + e.ToString()
106 + Environment.NewLine + "Attempting reconnection", assetID); 106 + Environment.NewLine + "Attempting reconnection", assetID);
107 _dbConnection.Reconnect(); 107 _dbConnection.Reconnect();
108 } 108 }
@@ -141,7 +141,7 @@ namespace OpenSim.Data.MySQL
141 catch (Exception e) 141 catch (Exception e)
142 { 142 {
143 m_log.ErrorFormat( 143 m_log.ErrorFormat(
144 "[ASSETS]: " + 144 "[ASSETS DB]: " +
145 "MySql failure creating asset {0} with name {1}" + Environment.NewLine + e.ToString() 145 "MySql failure creating asset {0} with name {1}" + Environment.NewLine + e.ToString()
146 + Environment.NewLine + "Attempting reconnection", asset.FullID, asset.Name); 146 + Environment.NewLine + "Attempting reconnection", asset.FullID, asset.Name);
147 _dbConnection.Reconnect(); 147 _dbConnection.Reconnect();