diff options
author | Dan Lake | 2011-07-20 15:01:32 -0700 |
---|---|---|
committer | Dan Lake | 2011-07-20 15:01:32 -0700 |
commit | 2c11f7fc38ba14e041ed0e648088d574dadaaffe (patch) | |
tree | d593e3d1130e78ec74a11650d413f451a9a844da /OpenSim/Data/SQLite/SQLiteGenericTableHandler.cs | |
parent | Merge branch 'master' into bulletsim (diff) | |
parent | Removed unused AddPrimShape methods in PhysicsScene caused by merge conflicts (diff) | |
download | opensim-SC-2c11f7fc38ba14e041ed0e648088d574dadaaffe.zip opensim-SC-2c11f7fc38ba14e041ed0e648088d574dadaaffe.tar.gz opensim-SC-2c11f7fc38ba14e041ed0e648088d574dadaaffe.tar.bz2 opensim-SC-2c11f7fc38ba14e041ed0e648088d574dadaaffe.tar.xz |
Merge branch 'master' into bulletsim
Diffstat (limited to 'OpenSim/Data/SQLite/SQLiteGenericTableHandler.cs')
-rw-r--r-- | OpenSim/Data/SQLite/SQLiteGenericTableHandler.cs | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/OpenSim/Data/SQLite/SQLiteGenericTableHandler.cs b/OpenSim/Data/SQLite/SQLiteGenericTableHandler.cs index 0d7ae1f..4f977a8 100644 --- a/OpenSim/Data/SQLite/SQLiteGenericTableHandler.cs +++ b/OpenSim/Data/SQLite/SQLiteGenericTableHandler.cs | |||
@@ -55,6 +55,11 @@ namespace OpenSim.Data.SQLite | |||
55 | protected static SqliteConnection m_Connection; | 55 | protected static SqliteConnection m_Connection; |
56 | private static bool m_initialized; | 56 | private static bool m_initialized; |
57 | 57 | ||
58 | protected virtual Assembly Assembly | ||
59 | { | ||
60 | get { return GetType().Assembly; } | ||
61 | } | ||
62 | |||
58 | public SQLiteGenericTableHandler(string connectionString, | 63 | public SQLiteGenericTableHandler(string connectionString, |
59 | string realm, string storeName) : base(connectionString) | 64 | string realm, string storeName) : base(connectionString) |
60 | { | 65 | { |
@@ -68,13 +73,12 @@ namespace OpenSim.Data.SQLite | |||
68 | 73 | ||
69 | if (storeName != String.Empty) | 74 | if (storeName != String.Empty) |
70 | { | 75 | { |
71 | Assembly assem = GetType().Assembly; | ||
72 | //SqliteConnection newConnection = | 76 | //SqliteConnection newConnection = |
73 | // (SqliteConnection)((ICloneable)m_Connection).Clone(); | 77 | // (SqliteConnection)((ICloneable)m_Connection).Clone(); |
74 | //newConnection.Open(); | 78 | //newConnection.Open(); |
75 | 79 | ||
76 | //Migration m = new Migration(newConnection, assem, storeName); | 80 | //Migration m = new Migration(newConnection, Assembly, storeName); |
77 | Migration m = new Migration(m_Connection, assem, storeName); | 81 | Migration m = new Migration(m_Connection, Assembly, storeName); |
78 | m.Update(); | 82 | m.Update(); |
79 | //newConnection.Close(); | 83 | //newConnection.Close(); |
80 | //newConnection.Dispose(); | 84 | //newConnection.Dispose(); |