diff options
author | Justin Clarke Casey | 2008-05-01 13:27:40 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-05-01 13:27:40 +0000 |
commit | d72bdf432a622f237b3030c1da9d1bccca20f83c (patch) | |
tree | 80b72df740a2858ac9ca8c3707ef45ff81488f67 /OpenSim/Data/MSSQL/MSSQLGridData.cs | |
parent | * Change mysql inventory items table version 3 upgrade sql to provide explici... (diff) | |
download | opensim-SC-d72bdf432a622f237b3030c1da9d1bccca20f83c.zip opensim-SC-d72bdf432a622f237b3030c1da9d1bccca20f83c.tar.gz opensim-SC-d72bdf432a622f237b3030c1da9d1bccca20f83c.tar.bz2 opensim-SC-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 'OpenSim/Data/MSSQL/MSSQLGridData.cs')
-rw-r--r-- | OpenSim/Data/MSSQL/MSSQLGridData.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Data/MSSQL/MSSQLGridData.cs b/OpenSim/Data/MSSQL/MSSQLGridData.cs index 3d859ff..3330732 100644 --- a/OpenSim/Data/MSSQL/MSSQLGridData.cs +++ b/OpenSim/Data/MSSQL/MSSQLGridData.cs | |||
@@ -87,7 +87,7 @@ namespace OpenSim.Data.MSSQL | |||
87 | } | 87 | } |
88 | catch (Exception) | 88 | catch (Exception) |
89 | { | 89 | { |
90 | m_log.Info("[DATASTORE]: MSSQL Database doesn't exist... creating"); | 90 | m_log.Info("[GRID DB]: MSSQL Database doesn't exist... creating"); |
91 | database.ExecuteResourceSql("Mssql-regions.sql"); | 91 | database.ExecuteResourceSql("Mssql-regions.sql"); |
92 | } | 92 | } |
93 | } | 93 | } |
@@ -217,7 +217,7 @@ namespace OpenSim.Data.MSSQL | |||
217 | } | 217 | } |
218 | else | 218 | else |
219 | { | 219 | { |
220 | m_log.Error("[DATABASE]: Searched for a Region Name shorter then 3 characters"); | 220 | m_log.Error("[GRID DB]: Searched for a Region Name shorter then 3 characters"); |
221 | return null; | 221 | return null; |
222 | } | 222 | } |
223 | } | 223 | } |
@@ -380,7 +380,7 @@ namespace OpenSim.Data.MSSQL | |||
380 | } | 380 | } |
381 | catch (Exception e) | 381 | catch (Exception e) |
382 | { | 382 | { |
383 | m_log.Error("MSSQLManager : " + e.ToString()); | 383 | m_log.Error("[GRID DB]: " + e.ToString()); |
384 | } | 384 | } |
385 | 385 | ||
386 | return returnval; | 386 | return returnval; |