diff options
author | Sean McNamara | 2011-04-10 18:28:54 -0400 |
---|---|---|
committer | Sean McNamara | 2011-04-10 18:28:54 -0400 |
commit | 9c0f3c73b1fd56ac145e866af0316a3285ddb689 (patch) | |
tree | 03541a853c2ecf5829ac296537b14d4553ad4b2e /OpenSim/Data/MySQL/MySQLGenericTableHandler.cs | |
parent | Merge git://opensimulator.org/git/opensim (diff) | |
parent | minor: remove mono compiler warnings (diff) | |
download | opensim-SC_OLD-9c0f3c73b1fd56ac145e866af0316a3285ddb689.zip opensim-SC_OLD-9c0f3c73b1fd56ac145e866af0316a3285ddb689.tar.gz opensim-SC_OLD-9c0f3c73b1fd56ac145e866af0316a3285ddb689.tar.bz2 opensim-SC_OLD-9c0f3c73b1fd56ac145e866af0316a3285ddb689.tar.xz |
Merge git://opensimulator.org/git/opensim
Diffstat (limited to 'OpenSim/Data/MySQL/MySQLGenericTableHandler.cs')
-rw-r--r-- | OpenSim/Data/MySQL/MySQLGenericTableHandler.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Data/MySQL/MySQLGenericTableHandler.cs b/OpenSim/Data/MySQL/MySQLGenericTableHandler.cs index 7c23a47..8efe4e9 100644 --- a/OpenSim/Data/MySQL/MySQLGenericTableHandler.cs +++ b/OpenSim/Data/MySQL/MySQLGenericTableHandler.cs | |||
@@ -46,6 +46,11 @@ namespace OpenSim.Data.MySQL | |||
46 | protected string m_Realm; | 46 | protected string m_Realm; |
47 | protected FieldInfo m_DataField = null; | 47 | protected FieldInfo m_DataField = null; |
48 | 48 | ||
49 | protected virtual Assembly Assembly | ||
50 | { | ||
51 | get { return GetType().Assembly; } | ||
52 | } | ||
53 | |||
49 | public MySQLGenericTableHandler(string connectionString, | 54 | public MySQLGenericTableHandler(string connectionString, |
50 | string realm, string storeName) : base(connectionString) | 55 | string realm, string storeName) : base(connectionString) |
51 | { | 56 | { |
@@ -57,7 +62,7 @@ namespace OpenSim.Data.MySQL | |||
57 | using (MySqlConnection dbcon = new MySqlConnection(m_connectionString)) | 62 | using (MySqlConnection dbcon = new MySqlConnection(m_connectionString)) |
58 | { | 63 | { |
59 | dbcon.Open(); | 64 | dbcon.Open(); |
60 | Migration m = new Migration(dbcon, GetType().Assembly, storeName); | 65 | Migration m = new Migration(dbcon, Assembly, storeName); |
61 | m.Update(); | 66 | m.Update(); |
62 | } | 67 | } |
63 | } | 68 | } |