diff options
author | Melanie | 2010-05-18 23:33:05 +0100 |
---|---|---|
committer | Melanie | 2010-05-18 23:33:05 +0100 |
commit | d2bc6736675f0418903f70a649808ccabbfb3fd9 (patch) | |
tree | 384da06faea8e7431b551a1829fcebb3d6241c2c | |
parent | Binary Guids are 16 chars long. Fix parser. (diff) | |
download | opensim-SC-d2bc6736675f0418903f70a649808ccabbfb3fd9.zip opensim-SC-d2bc6736675f0418903f70a649808ccabbfb3fd9.tar.gz opensim-SC-d2bc6736675f0418903f70a649808ccabbfb3fd9.tar.bz2 opensim-SC-d2bc6736675f0418903f70a649808ccabbfb3fd9.tar.xz |
Make m_log in migrations private. Define new m_log in derived class
-rw-r--r-- | OpenSim/Data/Migration.cs | 2 | ||||
-rw-r--r-- | OpenSim/Data/MySQL/MySQLMigrations.cs | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Data/Migration.cs b/OpenSim/Data/Migration.cs index 7980c35..e43d7c1 100644 --- a/OpenSim/Data/Migration.cs +++ b/OpenSim/Data/Migration.cs | |||
@@ -70,7 +70,7 @@ namespace OpenSim.Data | |||
70 | 70 | ||
71 | public class Migration | 71 | public class Migration |
72 | { | 72 | { |
73 | protected static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 73 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
74 | 74 | ||
75 | protected string _type; | 75 | protected string _type; |
76 | protected DbConnection _conn; | 76 | protected DbConnection _conn; |
diff --git a/OpenSim/Data/MySQL/MySQLMigrations.cs b/OpenSim/Data/MySQL/MySQLMigrations.cs index b16655d..959b5d0 100644 --- a/OpenSim/Data/MySQL/MySQLMigrations.cs +++ b/OpenSim/Data/MySQL/MySQLMigrations.cs | |||
@@ -43,6 +43,8 @@ namespace OpenSim.Data.MySQL | |||
43 | /// </summary> | 43 | /// </summary> |
44 | public class MySqlMigration : Migration | 44 | public class MySqlMigration : Migration |
45 | { | 45 | { |
46 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | ||
47 | |||
46 | public MySqlMigration() | 48 | public MySqlMigration() |
47 | : base() | 49 | : base() |
48 | { | 50 | { |