diff options
author | Melanie | 2009-09-04 03:13:32 +0100 |
---|---|---|
committer | Melanie | 2009-09-04 03:13:32 +0100 |
commit | c9a24ece546fb20977d27abef736cd5e45d976e2 (patch) | |
tree | 65a1a6079ad2f904f770670fc0d9e64849e362c3 /OpenSim/Data/MySQL/MySQLFramework.cs | |
parent | Flech out the Authentication service. Add the database loader. Introduce (diff) | |
download | opensim-SC_OLD-c9a24ece546fb20977d27abef736cd5e45d976e2.zip opensim-SC_OLD-c9a24ece546fb20977d27abef736cd5e45d976e2.tar.gz opensim-SC_OLD-c9a24ece546fb20977d27abef736cd5e45d976e2.tar.bz2 opensim-SC_OLD-c9a24ece546fb20977d27abef736cd5e45d976e2.tar.xz |
More work on new authentication service
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 | } |