diff options
author | lbsa71 | 2007-12-27 21:41:48 +0000 |
---|---|---|
committer | lbsa71 | 2007-12-27 21:41:48 +0000 |
commit | efd90b56b761219af6425b1c7a2cdd3b6ffb4de2 (patch) | |
tree | bf5b897e1e3c13211e3e2fc61d30508b94c928c0 /OpenSim/Framework/Data.MSSQL/MSSQLLogData.cs | |
parent | * removed always true if (diff) | |
download | opensim-SC_OLD-efd90b56b761219af6425b1c7a2cdd3b6ffb4de2.zip opensim-SC_OLD-efd90b56b761219af6425b1c7a2cdd3b6ffb4de2.tar.gz opensim-SC_OLD-efd90b56b761219af6425b1c7a2cdd3b6ffb4de2.tar.bz2 opensim-SC_OLD-efd90b56b761219af6425b1c7a2cdd3b6ffb4de2.tar.xz |
* Optimized usings
* shortened references
* Removed redundant 'this'
* Normalized EOF
Diffstat (limited to 'OpenSim/Framework/Data.MSSQL/MSSQLLogData.cs')
-rw-r--r-- | OpenSim/Framework/Data.MSSQL/MSSQLLogData.cs | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/OpenSim/Framework/Data.MSSQL/MSSQLLogData.cs b/OpenSim/Framework/Data.MSSQL/MSSQLLogData.cs index a5b33ec..c3ec7c6 100644 --- a/OpenSim/Framework/Data.MSSQL/MSSQLLogData.cs +++ b/OpenSim/Framework/Data.MSSQL/MSSQLLogData.cs | |||
@@ -25,14 +25,12 @@ | |||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | * | 26 | * |
27 | */ | 27 | */ |
28 | using System; | ||
29 | |||
30 | namespace OpenSim.Framework.Data.MSSQL | 28 | namespace OpenSim.Framework.Data.MSSQL |
31 | { | 29 | { |
32 | /// <summary> | 30 | /// <summary> |
33 | /// An interface to the log database for MySQL | 31 | /// An interface to the log database for MySQL |
34 | /// </summary> | 32 | /// </summary> |
35 | class MSSQLLogData : ILogData | 33 | internal class MSSQLLogData : ILogData |
36 | { | 34 | { |
37 | /// <summary> | 35 | /// <summary> |
38 | /// The database manager | 36 | /// The database manager |
@@ -51,7 +49,9 @@ namespace OpenSim.Framework.Data.MSSQL | |||
51 | string settingUserId = GridDataMySqlFile.ParseFileReadValue("user_id"); | 49 | string settingUserId = GridDataMySqlFile.ParseFileReadValue("user_id"); |
52 | string settingPassword = GridDataMySqlFile.ParseFileReadValue("password"); | 50 | string settingPassword = GridDataMySqlFile.ParseFileReadValue("password"); |
53 | 51 | ||
54 | database = new MSSQLManager(settingDataSource, settingInitialCatalog, settingPersistSecurityInfo, settingUserId, settingPassword); | 52 | database = |
53 | new MSSQLManager(settingDataSource, settingInitialCatalog, settingPersistSecurityInfo, settingUserId, | ||
54 | settingPassword); | ||
55 | } | 55 | } |
56 | 56 | ||
57 | /// <summary> | 57 | /// <summary> |
@@ -63,7 +63,8 @@ namespace OpenSim.Framework.Data.MSSQL | |||
63 | /// <param name="arguments">The arguments passed to the method</param> | 63 | /// <param name="arguments">The arguments passed to the method</param> |
64 | /// <param name="priority">How critical is this?</param> | 64 | /// <param name="priority">How critical is this?</param> |
65 | /// <param name="logMessage">The message to log</param> | 65 | /// <param name="logMessage">The message to log</param> |
66 | public void saveLog(string serverDaemon, string target, string methodCall, string arguments, int priority, string logMessage) | 66 | public void saveLog(string serverDaemon, string target, string methodCall, string arguments, int priority, |
67 | string logMessage) | ||
67 | { | 68 | { |
68 | try | 69 | try |
69 | { | 70 | { |
@@ -101,4 +102,4 @@ namespace OpenSim.Framework.Data.MSSQL | |||
101 | return "0.1"; | 102 | return "0.1"; |
102 | } | 103 | } |
103 | } | 104 | } |
104 | } | 105 | } \ No newline at end of file |