diff options
author | Tom | 2011-09-04 07:06:36 -0700 |
---|---|---|
committer | Tom | 2011-09-04 07:06:36 -0700 |
commit | 66dec3b8742eff04fbbcc6e3249fe4ba87986500 (patch) | |
tree | 76cc708a821d35fac5cdbbce2de304b47064e732 /OpenSim/Data/SQLite/SQLiteAuthenticationData.cs | |
parent | Guard another nullref (diff) | |
parent | Fixed BulletSim config files for Linux *.so libraries. (diff) | |
download | opensim-SC_OLD-66dec3b8742eff04fbbcc6e3249fe4ba87986500.zip opensim-SC_OLD-66dec3b8742eff04fbbcc6e3249fe4ba87986500.tar.gz opensim-SC_OLD-66dec3b8742eff04fbbcc6e3249fe4ba87986500.tar.bz2 opensim-SC_OLD-66dec3b8742eff04fbbcc6e3249fe4ba87986500.tar.xz |
Resolve merge commits, stage 1
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/SQLite/SQLiteAuthenticationData.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Data/SQLite/SQLiteAuthenticationData.cs b/OpenSim/Data/SQLite/SQLiteAuthenticationData.cs index c3b65bb..f51aa28 100644 --- a/OpenSim/Data/SQLite/SQLiteAuthenticationData.cs +++ b/OpenSim/Data/SQLite/SQLiteAuthenticationData.cs | |||
@@ -53,6 +53,11 @@ namespace OpenSim.Data.SQLite | |||
53 | protected static SqliteConnection m_Connection; | 53 | protected static SqliteConnection m_Connection; |
54 | private static bool m_initialized = false; | 54 | private static bool m_initialized = false; |
55 | 55 | ||
56 | protected virtual Assembly Assembly | ||
57 | { | ||
58 | get { return GetType().Assembly; } | ||
59 | } | ||
60 | |||
56 | public SQLiteAuthenticationData(string connectionString, string realm) | 61 | public SQLiteAuthenticationData(string connectionString, string realm) |
57 | : base(connectionString) | 62 | : base(connectionString) |
58 | { | 63 | { |
@@ -63,7 +68,7 @@ namespace OpenSim.Data.SQLite | |||
63 | m_Connection = new SqliteConnection(connectionString); | 68 | m_Connection = new SqliteConnection(connectionString); |
64 | m_Connection.Open(); | 69 | m_Connection.Open(); |
65 | 70 | ||
66 | Migration m = new Migration(m_Connection, GetType().Assembly, "AuthStore"); | 71 | Migration m = new Migration(m_Connection, Assembly, "AuthStore"); |
67 | m.Update(); | 72 | m.Update(); |
68 | 73 | ||
69 | m_initialized = true; | 74 | m_initialized = true; |