diff options
author | Teravus Ovares (Dan Olivares) | 2009-09-04 00:04:26 -0400 |
---|---|---|
committer | Teravus Ovares (Dan Olivares) | 2009-09-04 00:04:26 -0400 |
commit | 9f05edab04b7c592767b4875b00cec8468121744 (patch) | |
tree | 038c4955e4bbabd7ed2cd67443676480ca52f25a /OpenSim/Data/MySQL/MySQLFramework.cs | |
parent | * Fixes the function 'GetTerrainHeightAtXY' (diff) | |
parent | More work on new authentication service (diff) | |
download | opensim-SC-9f05edab04b7c592767b4875b00cec8468121744.zip opensim-SC-9f05edab04b7c592767b4875b00cec8468121744.tar.gz opensim-SC-9f05edab04b7c592767b4875b00cec8468121744.tar.bz2 opensim-SC-9f05edab04b7c592767b4875b00cec8468121744.tar.xz |
Merge branch 'master' of ssh://MyConnection/var/git/opensim
Diffstat (limited to 'OpenSim/Data/MySQL/MySQLFramework.cs')
-rw-r--r-- | OpenSim/Data/MySQL/MySQLFramework.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Data/MySQL/MySQLFramework.cs b/OpenSim/Data/MySQL/MySQLFramework.cs index f2b31c4..6c73249 100644 --- a/OpenSim/Data/MySQL/MySQLFramework.cs +++ b/OpenSim/Data/MySQL/MySQLFramework.cs | |||
@@ -70,6 +70,7 @@ namespace OpenSim.Data.MySQL | |||
70 | } | 70 | } |
71 | catch (MySqlException e) | 71 | catch (MySqlException e) |
72 | { | 72 | { |
73 | Console.WriteLine(e.ToString()); | ||
73 | if (errorSeen) | 74 | if (errorSeen) |
74 | throw; | 75 | throw; |
75 | 76 | ||
@@ -88,6 +89,13 @@ namespace OpenSim.Data.MySQL | |||
88 | 89 | ||
89 | cmd.Connection = m_Connection; | 90 | cmd.Connection = m_Connection; |
90 | } | 91 | } |
92 | else | ||
93 | throw; | ||
94 | } | ||
95 | catch (Exception e) | ||
96 | { | ||
97 | Console.WriteLine(e.ToString()); | ||
98 | return 0; | ||
91 | } | 99 | } |
92 | } | 100 | } |
93 | } | 101 | } |