diff options
author | MW | 2007-10-08 10:30:15 +0000 |
---|---|---|
committer | MW | 2007-10-08 10:30:15 +0000 |
commit | 4c25008850f92bcc79502c71a0e4d34c883d27d0 (patch) | |
tree | c5dd571fb11699675c80d363b3261c5be477c018 /OpenSim/Framework/Data.MySQL/MySQLUserData.cs | |
parent | small bug fix (diff) | |
download | opensim-SC_OLD-4c25008850f92bcc79502c71a0e4d34c883d27d0.zip opensim-SC_OLD-4c25008850f92bcc79502c71a0e4d34c883d27d0.tar.gz opensim-SC_OLD-4c25008850f92bcc79502c71a0e4d34c883d27d0.tar.bz2 opensim-SC_OLD-4c25008850f92bcc79502c71a0e4d34c883d27d0.tar.xz |
Applied patch 485, inventory patch from tleiades (thanks again).
Diffstat (limited to 'OpenSim/Framework/Data.MySQL/MySQLUserData.cs')
-rw-r--r-- | OpenSim/Framework/Data.MySQL/MySQLUserData.cs | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/OpenSim/Framework/Data.MySQL/MySQLUserData.cs b/OpenSim/Framework/Data.MySQL/MySQLUserData.cs index 301550f..915f54b 100644 --- a/OpenSim/Framework/Data.MySQL/MySQLUserData.cs +++ b/OpenSim/Framework/Data.MySQL/MySQLUserData.cs | |||
@@ -30,6 +30,7 @@ using System.Collections.Generic; | |||
30 | using System.Data; | 30 | using System.Data; |
31 | using libsecondlife; | 31 | using libsecondlife; |
32 | using OpenSim.Framework.Types; | 32 | using OpenSim.Framework.Types; |
33 | using OpenSim.Framework.Console; | ||
33 | 34 | ||
34 | namespace OpenSim.Framework.Data.MySQL | 35 | namespace OpenSim.Framework.Data.MySQL |
35 | { | 36 | { |
@@ -101,7 +102,7 @@ namespace OpenSim.Framework.Data.MySQL | |||
101 | catch (Exception e) | 102 | catch (Exception e) |
102 | { | 103 | { |
103 | database.Reconnect(); | 104 | database.Reconnect(); |
104 | Console.WriteLine(e.ToString()); | 105 | MainLog.Instance.Error(e.ToString()); |
105 | return null; | 106 | return null; |
106 | } | 107 | } |
107 | } | 108 | } |
@@ -134,7 +135,7 @@ namespace OpenSim.Framework.Data.MySQL | |||
134 | catch (Exception e) | 135 | catch (Exception e) |
135 | { | 136 | { |
136 | database.Reconnect(); | 137 | database.Reconnect(); |
137 | Console.WriteLine(e.ToString()); | 138 | MainLog.Instance.Error(e.ToString()); |
138 | return null; | 139 | return null; |
139 | } | 140 | } |
140 | } | 141 | } |
@@ -189,7 +190,7 @@ namespace OpenSim.Framework.Data.MySQL | |||
189 | catch (Exception e) | 190 | catch (Exception e) |
190 | { | 191 | { |
191 | database.Reconnect(); | 192 | database.Reconnect(); |
192 | Console.WriteLine(e.ToString()); | 193 | MainLog.Instance.Error(e.ToString()); |
193 | return null; | 194 | return null; |
194 | } | 195 | } |
195 | } | 196 | } |
@@ -212,7 +213,7 @@ namespace OpenSim.Framework.Data.MySQL | |||
212 | catch (Exception e) | 213 | catch (Exception e) |
213 | { | 214 | { |
214 | database.Reconnect(); | 215 | database.Reconnect(); |
215 | Console.WriteLine(e.ToString()); | 216 | MainLog.Instance.Error(e.ToString()); |
216 | } | 217 | } |
217 | 218 | ||
218 | } | 219 | } |