aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Data.MySQL/MySQLGridData.cs
diff options
context:
space:
mode:
authorMW2007-10-08 10:30:15 +0000
committerMW2007-10-08 10:30:15 +0000
commit4c25008850f92bcc79502c71a0e4d34c883d27d0 (patch)
treec5dd571fb11699675c80d363b3261c5be477c018 /OpenSim/Framework/Data.MySQL/MySQLGridData.cs
parentsmall bug fix (diff)
downloadopensim-SC-4c25008850f92bcc79502c71a0e4d34c883d27d0.zip
opensim-SC-4c25008850f92bcc79502c71a0e4d34c883d27d0.tar.gz
opensim-SC-4c25008850f92bcc79502c71a0e4d34c883d27d0.tar.bz2
opensim-SC-4c25008850f92bcc79502c71a0e4d34c883d27d0.tar.xz
Applied patch 485, inventory patch from tleiades (thanks again).
Diffstat (limited to 'OpenSim/Framework/Data.MySQL/MySQLGridData.cs')
-rw-r--r--OpenSim/Framework/Data.MySQL/MySQLGridData.cs10
1 files changed, 6 insertions, 4 deletions
diff --git a/OpenSim/Framework/Data.MySQL/MySQLGridData.cs b/OpenSim/Framework/Data.MySQL/MySQLGridData.cs
index 452434a..5709bf0 100644
--- a/OpenSim/Framework/Data.MySQL/MySQLGridData.cs
+++ b/OpenSim/Framework/Data.MySQL/MySQLGridData.cs
@@ -32,6 +32,8 @@ using System.Security.Cryptography;
32using System.Text; 32using System.Text;
33using libsecondlife; 33using libsecondlife;
34 34
35using OpenSim.Framework.Console;
36
35namespace OpenSim.Framework.Data.MySQL 37namespace OpenSim.Framework.Data.MySQL
36{ 38{
37 /// <summary> 39 /// <summary>
@@ -127,7 +129,7 @@ namespace OpenSim.Framework.Data.MySQL
127 catch (Exception e) 129 catch (Exception e)
128 { 130 {
129 database.Reconnect(); 131 database.Reconnect();
130 Console.WriteLine(e.ToString()); 132 MainLog.Instance.Error(e.ToString());
131 return null; 133 return null;
132 } 134 }
133 } 135 }
@@ -159,7 +161,7 @@ namespace OpenSim.Framework.Data.MySQL
159 catch (Exception e) 161 catch (Exception e)
160 { 162 {
161 database.Reconnect(); 163 database.Reconnect();
162 Console.WriteLine(e.ToString()); 164 MainLog.Instance.Error(e.ToString());
163 return null; 165 return null;
164 } 166 }
165 } 167 }
@@ -191,7 +193,7 @@ namespace OpenSim.Framework.Data.MySQL
191 catch (Exception e) 193 catch (Exception e)
192 { 194 {
193 database.Reconnect(); 195 database.Reconnect();
194 Console.WriteLine(e.ToString()); 196 MainLog.Instance.Error(e.ToString());
195 return null; 197 return null;
196 } 198 }
197 } 199 }
@@ -277,7 +279,7 @@ namespace OpenSim.Framework.Data.MySQL
277 catch (Exception e) 279 catch (Exception e)
278 { 280 {
279 database.Reconnect(); 281 database.Reconnect();
280 Console.WriteLine(e.ToString()); 282 MainLog.Instance.Error(e.ToString());
281 return null; 283 return null;
282 } 284 }
283 } 285 }