aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/SQLite/SQLiteUserData.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/SQLite/SQLiteUserData.cs
parent* Change mysql inventory items table version 3 upgrade sql to provide explici... (diff)
downloadopensim-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/SQLite/SQLiteUserData.cs')
-rw-r--r--OpenSim/Data/SQLite/SQLiteUserData.cs16
1 files changed, 8 insertions, 8 deletions
diff --git a/OpenSim/Data/SQLite/SQLiteUserData.cs b/OpenSim/Data/SQLite/SQLiteUserData.cs
index 97797e0..ec90f34 100644
--- a/OpenSim/Data/SQLite/SQLiteUserData.cs
+++ b/OpenSim/Data/SQLite/SQLiteUserData.cs
@@ -93,7 +93,7 @@ namespace OpenSim.Data.SQLite
93 } 93 }
94 catch (SqliteSyntaxException) 94 catch (SqliteSyntaxException)
95 { 95 {
96 m_log.Info("[SQLITE]: userfriends table not found, creating.... "); 96 m_log.Info("[USER DB]: userfriends table not found, creating.... ");
97 InitDB(conn); 97 InitDB(conn);
98 daf.Fill(ds.Tables["userfriends"]); 98 daf.Fill(ds.Tables["userfriends"]);
99 } 99 }
@@ -221,7 +221,7 @@ namespace OpenSim.Data.SQLite
221 } 221 }
222 catch (Exception ex) 222 catch (Exception ex)
223 { 223 {
224 m_log.Error("[USER]: Exception getting friends list for user: " + ex.ToString()); 224 m_log.Error("[USER DB]: Exception getting friends list for user: " + ex.ToString());
225 } 225 }
226 } 226 }
227 227
@@ -235,7 +235,7 @@ namespace OpenSim.Data.SQLite
235 235
236 override public void UpdateUserCurrentRegion(LLUUID avatarid, LLUUID regionuuid) 236 override public void UpdateUserCurrentRegion(LLUUID avatarid, LLUUID regionuuid)
237 { 237 {
238 m_log.Info("[USER]: Stub UpdateUserCUrrentRegion called"); 238 m_log.Info("[USER DB]: Stub UpdateUserCUrrentRegion called");
239 } 239 }
240 240
241 241
@@ -343,7 +343,7 @@ namespace OpenSim.Data.SQLite
343 DataRow row = users.Rows.Find(Util.ToRawUuidString(AgentID)); 343 DataRow row = users.Rows.Find(Util.ToRawUuidString(AgentID));
344 if (row == null) 344 if (row == null)
345 { 345 {
346 m_log.Warn("[WEBLOGIN]: Unable to store new web login key for non-existant user"); 346 m_log.Warn("[USER DB]: Unable to store new web login key for non-existant user");
347 } 347 }
348 else 348 else
349 { 349 {
@@ -415,7 +415,7 @@ namespace OpenSim.Data.SQLite
415 } 415 }
416 } 416 }
417 417
418 m_log.Info("[SQLITE]: " + 418 m_log.Info("[USER DB]: " +
419 "Syncing user database: " + ds.Tables["users"].Rows.Count + " users stored"); 419 "Syncing user database: " + ds.Tables["users"].Rows.Count + " users stored");
420 // save changes off to disk 420 // save changes off to disk
421 da.Update(ds, "users"); 421 da.Update(ds, "users");
@@ -769,7 +769,7 @@ namespace OpenSim.Data.SQLite
769 } 769 }
770 catch (Exception) 770 catch (Exception)
771 { 771 {
772 m_log.Info("[USERS]: users table already exists"); 772 m_log.Info("[USER DB]: users table already exists");
773 } 773 }
774 774
775 try 775 try
@@ -778,7 +778,7 @@ namespace OpenSim.Data.SQLite
778 } 778 }
779 catch (Exception) 779 catch (Exception)
780 { 780 {
781 m_log.Info("[USERS]: userfriends table already exists"); 781 m_log.Info("[USER DB]: userfriends table already exists");
782 } 782 }
783 783
784 conn.Close(); 784 conn.Close();
@@ -801,7 +801,7 @@ namespace OpenSim.Data.SQLite
801 } 801 }
802 catch (SqliteSyntaxException) 802 catch (SqliteSyntaxException)
803 { 803 {
804 m_log.Info("[DATASTORE]: SQLite Database doesn't exist... creating"); 804 m_log.Info("[USER DB]: SQLite Database doesn't exist... creating");
805 InitDB(conn); 805 InitDB(conn);
806 } 806 }
807 conn.Open(); 807 conn.Open();